WebSphere Portal Server - Share resources among multiple .war or .ear applications

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2004 > Share resources among multiple .war or .ear applications





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Share resources among multiple .war or .ear applications
techlead_arun

2004-07-22, 6:13 am

I have quite a few questions here.

1) How to create multiple .war files within one .ear...smthing shud be done to that application.xml but what?

2) Once that is done, how do i share resources amongst those .wars?

3) How shud i share resources among multiple .ears?Should i use the 'shared' folder dor that purpose?

The resources say cud be jar files or classes.

Thanks,
Arun

2004-07-27, 8:04 am

Not sure about number 1.

2. Depending on the resource you can do one of several thing. If it's just simple Java objects you can place the *.jar file in the {WAS_HOME}/lib directory and restart the servers. This makes the objects availible in the servers class path. If it is conne
ctions that needs pooling there is a deployment method to set them up with you application server (I haven't used this so see the documentation, but the deployment can be done through the administrative web interface). Third way to do it is to create a Po
rtletService. See the link below for more info as well as the portal info center. When deoplying the service you will need to add the jar file to the libraries.xml in {WAS_HOME}/config/cells/{node_name}/nodes/{node_name} as well as the propperties files m
entiond in the documentation.

3. The points in 2 are valid here as well appart from the PortletService one, that is only avalible in the PortletContext.

http://www-106.ibm.com/developerwor...nal/bernal.html
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com