• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse for development with JBoss?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might also consider trying the JBoss IDE eclipse plugin.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic