Eclipse 3.3 and JBoss 4.2 for JEE [message #195860] |
Sun, 08 July 2007 10:18  |
Eclipse User |
|
|
|
Originally posted by: balajio.hotmail.com
Hi Everybody,
I just downloaded Eclipse Europa release and also JBoss AS 4.2.
I am trying to develop some simple EJBs to get a feel of the features
introduced in JEE 5. Both Eclipse and JBoss claim to support the latest
version of JEE but I am running into problems.
Specifically:
1. Eclipse is relying on XDoclet to generate the deployment descriptors
and XDoclet v1.2.3 is using J2EE v1.4 standard. I am getting errors about
SessionBean and EntityBean not found. These go away if I include the
jboss-j2ee.jar in the classpath.
2. I got the JBoss IDE plugin v1.6 for Eclipse. I am having similar issues
here as well.
So, my question is - if I want to write EJBs using annotations of JEE, how
should I configure Eclipse to generate all the required files conforming
to JEE 5 and used with JBoss v4.2 ? Or, are the plugins required for this
still in development/beta ?
TIA
balajio
|
|
|
|
|
|
Re: Eclipse 3.3 and JBoss 4.2 for JEE [message #196492 is a reply to message #196252] |
Mon, 16 July 2007 16:56  |
Eclipse User |
|
|
|
Originally posted by: balajio.hotmail.com
Wolfgang Knauf wrote:
> Hi Balajio,
> the wizards for JavaEE5 modules provide an checkbox "create deployment
> descriptors" which create default ejb-jar.xml, application.xml and so on.
> But beware: this will not work if you create an EAR with default modules.
You
> have to create an empty EAR and add the modules one by one afterwards with
this
> option checked (https://bugs.eclipse.org/bugs/show_bug.cgi?id=181894).
> For JBoss specific deployment descriptors there is no WTP support
unfortunately.
> Just for your information: JBoss 4.2 supports all JavaEE5 deployment
descriptors.
> Best regards
> Wolfgang
> balajio wrote:
>>
>> How are the deployment descriptor and other configuration files
>> generated for JBoss or any other application server ? I was hoping some
>> wizard would do that but if it has to be done manually, I can do that. I
>> guess Eclipse and application servers still have to implement all the
>> features of JEE 5.
>>
>> balajio
>>
Hi Wolfgang,
Thank you again for the response.
Best regards
balajio
|
|
|
Powered by
FUDForum. Page generated in 0.04001 seconds