[nbj2ee] web service deployment problem

  • From: "danday006" < >
  • To:
  • Subject: [nbj2ee] web service deployment problem
  • Date: Sat, 13 Oct 2012 03:12:29 -0400

I am currently working with a web service that performs some database 
operation. After deploying it i discovered it works perfectly on the 
localhost but i need it to deploy it to a web address say : 43:33:73:6 so 
that i will be able to consume it from any where via internet.. so my 
questions is how do i deploy this to my web directory and also what will my 
database connection look like (the connection in the web service.). am using 
NetBeans 6.9.1 thanks in advance. 

My webservice url looks like this when testing it with glassfish though it 
also works fine with tomcat: 

http://localhost:8080/WebMoyo/connect_To_DbService?Tester ;

i have something like this for the DB connection: 

Class.forName("com.mysql.jdbc.Driver"); 
url = "jdbc:mysql://localhost:3306/mhealth?"; 

con = DriverManager.getConnection(url, "root", "")






[nbj2ee] web service deployment problem

danday006 10/13/2012

[nbj2ee] Re: web service deployment problem

John Yeary 10/15/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close