File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes web application as a library Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "web application as a library" Watch "web application as a library" New topic
Author

web application as a library

Adolfo Eloy
Ranch Hand

Joined: Mar 21, 2009
Posts: 137

Hello all.

I've created a web application which has some artifacts that I'd like to distribute to be used by another web application.
There is some JSP, Sevlets and even tiles-definitions on that project.
I was searching some way to do that, but the problem is that Servlets must be declared within the web.xml.

Does anybody could tell me if what I'm searching for is possible at least?

Any suggestions on where to find more about it will be appreciated.

Thanks.


Adolfo Eloy
Software Developer
OCPJP 6
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50693

What type of sharing are you talking about? Sounds like you simply need to make sure that the artifacts are under source control and can be built into either project. Some refactoring may be needed.

Or are you talking about run-time sharing?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: web application as a library
 
Threads others viewed
difference in servlet container, web server and application server
Searching Page
HTML 5 and offline web application
what is a servlet
Searching a page
IntelliJ Java IDE