• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Distributing a framework

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic