JBoss use Eclipse workspace as WebApp?

Discussion in 'Java' started by Lord0, Feb 20, 2008.

  1. Lord0

    Lord0 Guest

    Hi there,

    With OC4J (the Oracle J2EE server) you can specify in "default-web-
    site.xml" various <web-app>'s.

    i.e.

    <web-app application="current-workspace-app" name="myapp" root="/
    myapp" load-on-startup="true"/>

    Then in "server.xml" you do this:

    <application name="current-workspace-app" path="C:\eclipse\workspace
    \oc4j-app.xml" start="true" />

    Then in "oc4j-app.xml" you have:

    <web-module id="myapp" path="C:\eclipse\workspace\myappWebRoot"/>

    This essentially means that as you edit java classes in Eclipse and
    save/compile them, the changes are automatically picked up by the App
    Server with no need to package up and redeploy the entire web app.

    Can anything similar be done with JBoss?

    I am currently use Eclipse Web Tools + JBoss + Eclipse but it seems to
    want to repackage and redeploy the entire web app rather than just the
    single changed class file.

    cheers

    Lord0
     
    Lord0, Feb 20, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    451
    S. Justin Gengo [MCP]
    Feb 10, 2006
  2. Replies:
    2
    Views:
    418
    Thomas Fritsch
    Mar 6, 2006
  3. Jubz
    Replies:
    0
    Views:
    2,355
  4. pdxrain
    Replies:
    0
    Views:
    3,185
    pdxrain
    Aug 13, 2006
  5. Andrew
    Replies:
    7
    Views:
    442
    Andrew
    Jun 28, 2009
Loading...

Share This Page