Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse for development with JBoss?

 
john findler
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might also consider trying the JBoss IDE eclipse plugin.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic