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
Hi Axel, just out of curiosity, had a look at what you waffling on about, coz I've never done portlets. It's interesting but it actually looks like a nightmare I did find a link that I think will help... http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3089 Fram

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+hibernate business logic accro

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