| Can I use a (Myfaces/JSF) war/web app inside Eclipse? [message #116604] | 
Wed, 27 August 2008 08:33  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Dear All, 
 
We have 2 streams of devlopment going on concurrently: 
 
A) Some rich editors in Eclipse (3.4) 
B) Some Web apps built on top of MyFaces/JSF and packaged as War files  
for more general audiences (i.e. those with just a web browser) served  
via centralized servers. 
 
The users want to be able to take the web apps with them so at the  
moment we are packaging up a completely tomcat instance. 
 
The users would like to just use Eclipse (including updating via an  
internal update site etc) and someone pointed out that Eclipse comes  
with OSGI/Jetty/Tomcat. 
 
Our Webapps work fine with jetty/tomcat in a standalone setting & simply  
require a file type registry entry etc and a small handler class which  
would convert that to a URL and then open the browser (either within  
eclipse of outside as per opening an html file). 
 
I can find lots of help wrt taking an OSGI app and moving it to Tomcat  
but precious little wrt starting with an existing War/WebApp and moving  
it to OSGI & then to within Eclipse. 
 
There are various older examples which use the embedded tomcat &  
WebappManager.start() 
 
But given we are baselining on 3.4 & given jetty/OSGI seems to have  
become the standard way I would like to go that route. 
 
So to recap: 
 
A)Is there any tutorial for taking an exisiting web app and moving it to  
OSGI? 
 
B) Is there any tutorial for taking an OSGI web app and embedding it  
within eclipse? 
 
 
TIA 
 
Adam
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03878 seconds