Servlet deployment: was [Jean-Francois Arcand's Blog] New Comment Posted to 'Extending the Grizzly HTTP Runtime part V: Programatically configuring Servlet and GrizzlyAdapter'

View: New views
1 Messages — Rating Filter:   Alert me  

Servlet deployment: was [Jean-Francois Arcand's Blog] New Comment Posted to 'Extending the Grizzly HTTP Runtime part V: Programatically configuring Servlet and GrizzlyAdapter'

by Jeanfrancois Arcand-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Salut,

foo@... wrote:
 > A new comment has been posted on your blog Jean-Francois Arcand's
Blog, on entry #10977 (Extending the Grizzly HTTP Runtime part V:
Programatically configuring Servlet and GrizzlyAdapter).
 >
 >
 > View this comment:
<http://weblogs.java.net/blog/jfarcand/archive/2009/01/extending_the_g_5.html>
 > Edit this comment:
<http://weblogs.java.net/mt/mt.cgi?__mode=view&blog_id=258&_type=comment&id=52735>
 >
 > IP Address: 64.125.132.43
 > Name: greeneyed
 > Email Address: foo@...
 > URL: Comments:
 >
 > Is it possible to have an embedded version but that reads the
configuration from files like a regular container would do? <br />

Yes, we have an exploratory implementation described here:

http://weblogs.java.net/blog/survivant/archive/2008/12/read_webxml_wit.html

but this is not yet an official project/sub project. We still discussing it.


  <br />
 > I say so because I currently use Jetty embedded and I use always the
same "Jetty launcher" code and I just point it to the proper directory
to be mounted and it reads the web.xml and deploys the application, etc.
<br />

Yes that's quite nice.


  <br />
 > This was I can re-use the same code for every tiny application I want
to, without harcoding the servlets, filters etc. that I need. And at the
same time, the web application can be mounted in a regular container
without a change. <br />
 > I understand how doing everything in code can be very useful
sometimes, but in my case I'd rather do it like that.. <br />

I agree. We will work on a solution soon :-)


 > Salute and good job!

Thanks!!!

-- Jeanfrancois
 >


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...