Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JBoss with JSR88 deployment
JBoss with JSR88 deployment [message #218931] Tue, 05 August 2008 10:43
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi everybody,

I played around with JBoss und JSR88 and built a modified generic JBoss plugin
for WTP 3.0 which performs deployment through JSR88 instead of file copying
(works for JBoss 4.2 and 5.0). Hopefully someone finds it useful.

http://www.informatik.fh-wiesbaden.de/~knauf/public

Benefits are:
a) the default timeout of 10 seconds is no longer required, because the deployer
code returns after successful deployment/undeployment. So a "run on server" of
e.g. a JSP page will be executed after the app is deployed, even if deployment
lasts some minutes.
b) remote deployment should be possible (I did not test it up to now, but bv
specifying a remote server adresse in the server properties, this should be
possible). You will still need a local server installation for WTP to resolve
the JAR dependencies, but deployment should be possible to a remote port.

Problems are:
a) Apps which are deployed through JSR88 are not "persistent", which means that
they are lost after server restart and must be redeployed. This means that the
eclipse deployment state ("app is published") is wrong after a restart.
b) WTP setting "publish on server startup" is not possible, because the deployer
cannot connect while server startup. So switch off this option.

Are there plans to integrate JSR88 deployment in WTP? Seems that though this is
a standard, big parts of its implementation are still server dependent :-(.

Wolfgang Knauf
Previous Topic:custom build.xml + jetty
Next Topic:WST Validation framework uses 160-200% CPU for 5-10 minutes
Goto Forum:
  


Current Time: Mon Nov 24 02:59:22 GMT 2014

Powered by FUDForum. Page generated in 0.02388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software