Share resources among multiple .war or .ear applications
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Share resources among multiple .war or .ear applications




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

techlead_arun is offline     Share resources among multiple .war or .ear applications  
techlead_arun


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for techlead_arun Click here to Send techlead_arun a Private Message Find more posts by techlead_arun Add techlead_arun to your buddy list
 
07-22-04 11: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




[ Post a follow-up to this message ]



    Re: Share resources among multiple .war or .ear applications  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-04 01:04 PM

Not sure about number 1.

2. Depending on the resource you can do one of several thing. If it's just s
imple Java objects you can place the *.jar file in the {WAS_HOME}/lib d
irectory and restart the servers. This makes the objects availible in the se
rvers class path. If it is conne
ctions that needs pooling there is a deployment method to set them up with y
ou 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 ce
nter. When deoplying the service you will need to add the jar file to the li
braries.xml in {WAS_HOME}/config/cells/{node_name}/nodes/{nod
e_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... />
ernal.html





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:10 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register