File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Distributing a framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Distributing a framework" Watch "Distributing a framework" New topic

Distributing a framework

Richard Corbin

Joined: Nov 22, 2008
Posts: 12
Hi All,

This one might seem a bit confusing

I'm getting ready to release a new framework that I have developed on Glassfish. where I am now though is getting it ready for cross umm container? distribution. I admitidly know nothing about distributing web libraries (kinda important for a web framework developer )

what I have is a collection of servlets and PoJos which need to be bundled in a way that let a user include them in the CP of their web app. I need to have an init servlet classloader start and have the directory of the web app that is using the framework sent to it. while also preserving the exposed servlets and servlet contexts defined in the frameworks web.xml. Whats the best way to have a user include a jar file containing the classes and servlets and maintain my frameworks Contexts as well as allowing the user to specify the init to load on startup?

thats hard for me to read and I wrote it
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63862

Package it up in a jar file.

Document the setup steps that the user needs to take.

I'm not sure what you are looking for beyond that.

You can check out Front Man (see sig) as an example if you'd like)

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Distributing a framework
It's not a secret anymore!