jQuery in Action, 2nd edition
The moose likes JSF and the fly likes Common resources for multiple projects Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Common resources for multiple projects" Watch "Common resources for multiple projects" New topic
Author

Common resources for multiple projects

Stephan Hartmann
Greenhorn

Joined: Feb 11, 2010
Posts: 6
Hello everybody,

we have made up a small multi- application framework that will allow switching between multiple web applications. The web apps are also developed by us.
Each web app will contain a messages.properties file with the messages, this will be loaded as a resource bundle.
And, each web app will also have a layout.xhtml which will be the "top view" for all applications. (This is the page index.jsp will point to)
This construct will allow to switch between applications without having frames (ouch...) or having a construct like a portal.
But, the files like the "common" messages (login, username, logout, company...) and the layout.xhtml and index.jsp (among others) have to be maintained across the projects, since they are intended to be the same.

Does anybody have an idea how to keep the files or content common between the projects without copying / editing?
Either with a tool or by declaring them in a way that keeps them in a single place and just added to the projects?

Thanks
Stephan


<perhaps somebody can translate this in english>
Wenn einer, der mit Mühe kaum
gekrochen ist auf einen Baum
schon meint, dass er ein Vogel wär,
so irrt sich der.
(Wilhelm Busch)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Common resources for multiple projects
 
Similar Threads
struts modules with JSPs in WEB-INF and public redirects
Question for the experts!
help needed
Private JVM & misc
Resin with Apache