Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JBoss/WildFly and the fly likes Eclipse for development with JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Eclipse for development with JBoss?" Watch "Eclipse for development with JBoss?" New topic
Author

Eclipse for development with JBoss?

john findler
Greenhorn

Joined: Jan 23, 2006
Posts: 7
Hi Tom and Scott,

What advice can you give for using the eclipse IDE for development of web components and J2EE applications intended for deployment to JBoss application server? I particularly like the Borland Together Developer 2006 product, which is fully based on Eclipse. Note that like to create deployment descriptors, Ant and other artifacts manually (not via websphere automation tricks) Thanks.
[ February 08, 2006: Message edited by: john findler ]
Tom Marrs
Author
Ranch Hand

Joined: Sep 20, 2000
Posts: 67
John,
First, you're doing the right thing by using Ant - you need to have a build environment outside the IDE to support collaborative development, unit testing, Continuous Integration, and so on.

I've used Eclipse with JBoss before, and it was pretty easy to set up.
You need to add J2EE stubs (HttpServletRequest, and so on) to your CLASSPATH. Copy the following files from $JBOSS_HOME/server/default/lib to your Eclipse project and add them to the project CLASSPATH:

javax.servlet.jar (core Servlets)
javax.servlet.jsp.jar (JSP Taglibs)
jboss-j2ee.jar (core EJBs)

If you need to invoke Stateless Session Beans fro outside the container, you'll also need to copy the following file from $JBOSS_HOME/client/lib to your Eclipse project and add it to the project CLASSPATH:

jbossall-client.jar

Tom
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You might also consider trying the JBoss IDE eclipse plugin.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse for development with JBoss?