Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JBoss use Eclipse workspace as WebApp?

Reply
Thread Tools

JBoss use Eclipse workspace as WebApp?

 
 
Lord0
Guest
Posts: n/a
 
      02-20-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse 3.2 workspace .metadata question (was workspace copy problem) pdxrain Java 0 08-12-2006 11:45 PM
Eclipse 3.2 workspace copy problem pdxrain Java 0 08-12-2006 11:05 PM
eclipse is confusing <project vs workspace> rogndeb@gmail.com Java 6 07-07-2006 01:35 AM
Eclipse/Lomboz/JBoss: Cannot Start JBoss (Debug) Server from Eclipse Using Lomboz Plugin Jubz Java 0 05-30-2006 10:24 PM
How to only display the error of one instead of multiple projects in a workspace folder in eclipse yihucd@gmail.com Java 2 03-06-2006 05:04 PM



Advertisments