File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver?" Watch "JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver?" New topic
Author

JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver?

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42922
    
  68
The Jwsdp is dead, and has been for some time. Java 6 contains SAAJ and JAX-WS as well as a simple server for those. Not any sample code or documentation, though.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
by saying java 6 what you mean?
Ýou mean also that JDK 6 UPDATE 15 no need it? what JDK 6 UPDATE 15 contains as of EE SE?
JWSDP is only for Java se5?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42922
    
  68
by saying java 6 what you mean?

A JRE that supports Java 6.

Ýou mean also that JDK 6 UPDATE 15 no need it?

I'm saying that JWSDP is obsolete; you should use Metro instead. I'm also saying that the Java 6 JRE does NOT contain all the things that are part of a WS development kit. If you're serious about WS development, then you should use Metro, not the built-in parts of Java 6.

what JDK 6 UPDATE 15 contains as of EE SE?

Not following. JEE and JSE are two different things.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
I thing have se 6 and ee5 in jdk 6, am I correct? For startup in web services(intro chapter of an intro textbook), is it really any to install?
I also have netbeans 6.7.1, this support full the web services intro/adv concepts? for deploy from netbeans ...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42922
    
  68
I thing have se 6 and ee5 in jdk 6, am I correct?

No. JDK 6 contains an implementation of the Java 6 JRE plus some development tools and documentation, but not JEE 6. That's a separate download. Note that "JEE" is just a specification - if you want to run JEE code then you need a server for it. For web services, a servlet container such as Tomcat is sufficient, but for some of the other APIs (like EJB and JMS) a full JEE server (like GlassFish) is required.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
My other textbook use netbeans for builting two WebServices Apps, one provider & other client, and says to run the client example (prior run provider example)... well prior run client says "Before add client web service code to client app, you need to make sure that the web service(provider means), is running on port 80 of your tomcat server."
well how do this?
may a web service provider & client use both same port number eg 8084(the client's in this case) ?
may in netbeans run to projects the same time eg server and client web service apps?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42922
    
  68
You can use any port number you wish; 80 in particular may be hard to use because it's lower than 1024. But Tomcat generally uses 8080, so why not use that for WS as well?

A client doesn't *use* a port so much as that it *connects* to a server port - the server port number is part of the URL the client accesses. (Technically, there is a client port number, but it's generally not known, it's not relevant, and it's not the same as the server port.)
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
"You can use any port number you wish; 80 in particular may be hard to use because it's lower than 1024. But Tomcat generally uses 8080" well how do this eg 8080 rather 8084?
may a web service provider & client use both same port number eg 8084(the client's in this case)? YES / NO
may in netbeans run TWO(2) projects the same time, eg server and client web service apps? YES / NO
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
MAY run netbeans tomcat server, and tomcat server installed separate same time?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42922
    
  68
may a web service provider & client use both same port number eg 8084(the client's in this case)? YES / NO

I think you still misunderstand how ports work. If the web service runs on port X, then of course the client needs to connect to port X on the server. (And, again, the client's port number is irrelevant, and generally not known. It'll be different from the server port number, though.)

MAY run netbeans tomcat server, and tomcat server installed separate same time?

I think so, provided that the TC instance run by NB uses different port numbers than the standalone TC instance.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
then two app in two tomcats (two ports) may communicate?

may in netbeans run TWO(2) projects the same time, eg server and client web service apps? YES / NO
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
this indicates missing java(.class) file or in wrong folder (netbeans) ?

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
how in netbeans change port of a web app localhost?
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
I get error:



The http://localhost:8084/webpetcover/PetInsurance?wsdl
is success view so I need to change ports on netbeans?

App is from outside netbeans locally...

http://localhost/webpetcover/PetInsurance?wsdl what port must inserted?
80 ? how avoid normal www port 80 conflicts?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDK 6 UPDATE 15, Includes JWSDP so it does not need install separatelly, like 5 ver?