RE: Spring+hibernate business logic accross multiple webapps

2007-07-10 Thread Nelson, Tracy M.
| From: axelspin [mailto:[EMAIL PROTECTED] | Sent: Monday, 09 July, 2007 13:12 | | But how about performance.. | | is it better to have multiple instances of hibernate sessionFactory | Objects | (one each web app) or to use an http call for each db query? | | Maybe transactions are handled bette

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread axelspin
But how about performance.. is it better to have multiple instances of hibernate sessionFactory Objects (one each web app) or to use an http call for each db query? Maybe transactions are handled better with a centralized datasource access throug ws.. what do you think? Andre Prasetya-2 wrote

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread axelspin
So guys.. Do you think that this discussion thread is hopeless within Tomcat? http://forum.springframework.org/archive/index.php/t-9962.html axelspin wrote: > > Hello, > I am wondering which is the best way to deploy within Tomcat multiple web > apps (portlets-web services) that have access >

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread axelspin
Designing specific web services for this purpose.. comunications within the same appserver.. sounds a bit depressive.But yes.. could be an option. Maybe I should move to JBoss or Geronimo and use "ears". But it doesn`t sound good to my "ears" :-) I have to open my portlets through wsrp (WSRP4J)

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread Johnny Kewl
ageId=3089 Frames for me they can have portlets ;) Good luck - Original Message - From: "axelspin" <[EMAIL PROTECTED]> To: Sent: Monday, July 09, 2007 12:22 PM Subject: Spring+hibernate business logic accross multiple webapps Hello, I am wondering which is the

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread Yefym Dmukh
Hi, case you are going to use stateful session mechanism, be aware that tomcat opens for each webapp context new httpsession. axelspin <[EMAIL PROTECTED]> 09.07.2007 12:22 Please respond to "Tomcat Users List" To users@tomcat.apache.org cc Subject Spring+hibernat

Re: Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread Andre Prasetya
i think its better if you use web services for that purpose, or rmi, whichever right to your taste On 7/9/07, axelspin <[EMAIL PROTECTED]> wrote: Hello, I am wondering which is the best way to deploy within Tomcat multiple web apps (portlets-web services) that have access to the same business

Spring+hibernate business logic accross multiple webapps

2007-07-09 Thread axelspin
Hello, I am wondering which is the best way to deploy within Tomcat multiple web apps (portlets-web services) that have access to the same business logic (developed with Spring+Hibernate). I`ve seen something here http://springtips.blogspot.com/2007/06/using-shared-parent-application-context.html