Des tutoriels sur le developpement Web et Web services sont disponibles chez Netbeans.


Installer NetBeans IDE 5.5 + JBoss Application Server 4.0.4 Bundle (inclu)

Le télécharger depuis la page de téléchargement Netbeans.

The Install Wizard will install NetBeans IDE 5.5 Beta 2 and JBoss AS 4.0.4.GA on your computer.

NOTE: The version of JBoss Application Server 4.0.4 included in this installation contains full support for J2EE 1.4 as well as a Technology Preview of EJB 3.0. Since it is not yet Java EE 5 compatible, JBoss Application Server provides limited support for the Java EE 5 features within the NetBeans IDE. For a list of current and road map features, please visit http://www.jboss.com/products/jbossnetbeans.

The first release of this bundle packages the NetBeans IDE 5.5 IDE and the JBoss 4.0.4 application server with the JBoss EJB3 Technical Preview implementation. JBoss's EJB3 implementation supports the Java Persistence API(JPA) and EJB3 specifications.

Future releases of this bundle will round out the features of the application server as JBoss moves closer to the JBoss Application Server 5 release, which will be fully Java EE 5 compatible.

NetBeans IDE 5.5 will be installed in the following location: C:\Program Files\netbeans-5.5

JBoss AS 4.0.4.GA will be installed in the following location: C:\jboss-4.0.4.GA for a total size 135 MB


Création d'un WS : CalculetteWS ( pour 3 serveurs : Serveurs JEE : Sun et Jboss, Serveur Tomcat )

Sun

C:\Sun\AppServer\lib\asadmin-pause.bat stop-domain domain1
Java EE Version : Java EE 5
http://localhost:8080/Calculette4Sun/CalculetteWSService?Tester

Jboss

C:\jboss-4.0.4.GA\bin\shutdown --shutdown
Java EE Version : J2EE 1.4
http://localhost:8080/Calculette4Jboss/CalculetteWS

Tomcat

C:\Tomcat 5.5
Java EE Version : J2EE 1.4
http://localhost:8080/Calculette4Tomcat/CalculetteWS

Les URLs des services et de leur WSDL

New Web Service Client ->

+ Projet : 
http://localhost:8080/Calculette4Sun/CalculetteWSService?wsdl
http://localhost:8080/Calculette4Jboss/CalculetteWS?wsdl
http://localhost:8080/Calculette4Tomcat/CalculetteWS?wsdl
+ Local File : 
+ WSDL Url :
+ JAX Version : JAX-WS

Bilan

Fonctionne sur Sun et Tomcat. Mais pas sur Jboss suite à une erreur de déploiement, est par ce qu'il n'est pas encore Java EE 5 compatible en sa version 4.0.x ?

Notes

Le redémarrage des serveurs est accessible depuis la fenêtre "Ouptput"