Netbeans 6.0 and JBOSS 4.2.1GA

View: New views
2 Messages — Rating Filter:   Alert me  

Netbeans 6.0 and JBOSS 4.2.1GA

by fakhreldeen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have downloaded JBOSS 4.2.1GA and added it as a server to my Netbeans environment. The reason I need 4.2.1 and not 5 is because I have purchased a hosting plan that has 4.2.1 as the hosting server, therfore, I would like my development environment, and my deployment environmen to be the same. However, when I try to create an Enterprise Application, by following the example in the following link http://www.netbeans.org/kb/55/ejb30-jboss.html#Exercise_0 i don't have the Java EE 5 as the Java EE version to choose, instead I only have the J2EE Version.  I have done some reading, and all what I have found says that  JBOSS 4.2.1 is Java EE 5 ready, so why can I not create a Java EE 5 Enterprise Application.  I can however create an EJB Module that is a Java EE 5 module, but then how do I import the Entity Beans created in that module to the servlets created in a seperate WAR module.  And why is Netbeans only allowing me to choose J2EE for the Java version rather than Java EE 5.

any help is appreciated
thank you
Sam

Re: Netbeans 6.0 and JBOSS 4.2.1GA

by Petr Hejl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
JBoss 4.2 is not Java EE 5 certified container. It supports some Java EE
5 technologies. It can't deploy Java EE 5 EAR project for example (the
fact that the EE 5 EAR was allowed in nb5.5 was a bug).

So you should be able to create EE 5 ejb and war, but not ear. EE 5 war
support was fixed recently so you should use latest netbeans build if
you need EE 5 war or optionally latest jboss plugin build from daily
update center.

P.

fakhreldeen wrote:

> I have downloaded JBOSS 4.2.1GA and added it as a server to my Netbeans
> environment. The reason I need 4.2.1 and not 5 is because I have purchased a
> hosting plan that has 4.2.1 as the hosting server, therfore, I would like my
> development environment, and my deployment environmen to be the same.
> However, when I try to create an Enterprise Application, by following the
> example in the following link
> http://www.netbeans.org/kb/55/ejb30-jboss.html#Exercise_0 i don't have the
> Java EE 5 as the Java EE version to choose, instead I only have the J2EE
> Version.  I have done some reading, and all what I have found says that
> JBOSS 4.2.1 is Java EE 5 ready, so why can I not create a Java EE 5
> Enterprise Application.  I can however create an EJB Module that is a Java
> EE 5 module, but then how do I import the Entity Beans created in that
> module to the servlets created in a seperate WAR module.  And why is
> Netbeans only allowing me to choose J2EE for the Java version rather than
> Java EE 5.
>
> any help is appreciated
> thank you
> Sam
>