The moose likes JBoss and the fly likes War  WSAD Eclipse JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "War  WSAD Eclipse JBOSS" Watch "War  WSAD Eclipse JBOSS" New topic
Author

War WSAD Eclipse JBOSS

Sahil Singh
Ranch Hand

Joined: Sep 03, 2003
Posts: 41
Hi Guys,
Have a question.
I have an exisitng WAR or EAR (whichever) file (developed in wsad 4.0.3).
I need to deploy this project onto Eclipse + JBOSS configuration.
How do i do it?.

Please help me..
Thanks,
Sahil.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
You probably need to change your server-specific deployment descriptors. Have you even tried doing it yet?


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
Generally speaking, you can create a .war out of wsad on deploy it in the jboss server/whatever directory(export-->war). The websphere specific files that wsad generates such as the ibm-web-bnd.xmi and ibm-web-ext.xmi files along with the .websettings file will be ignored.

However, be careful with your ejb calls and data source calls. Where the Context.INITIAL_CONTEXT_FACTORY in Jboss is
org.jnp.interfaces.NamingContextFactory it is something else (I cannot remember what right now) in websphere. Your calls to the connection pool will most likely be different as well.

You see? Portable but not so portable.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
 
 
subject: War WSAD Eclipse JBOSS
 
Threads others viewed
Creating a WAR file for a Struts application in Eclipse.
Testing changes in Eclipse w/ JBoss
JBoss and Eclipse
How can I prevent my software from deploying web in WAR format? I want folders!
Using Jboss in development Environment
developer file tools