Re: T5: best practice for a multiple module app

2008-02-05 Thread Anton Gavazuk
Hi, I don't see any complexity of EJBs (in EJB 2) in case if you are using just JMS/Session beans - Entity beans are really awful 2008/2/5, Renat Zubairov [EMAIL PROTECTED]: Hi Angelo, I was just thinking how can you organize your application in case you would use the EJBs: You will most

Re: T5: best practice for a multiple module app

2008-02-05 Thread Renat Zubairov
Hi Angelo, I was just thinking how can you organize your application in case you would use the EJBs: You will most probably use the Session Facade design pattern ( http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html) to provide the backend for your web apps that will be

Re: T5: best practice for a multiple module app

2008-02-04 Thread Davor Hrg
Using one persistence layer (I'll talk about Hibernate, but it most likely applies to any other) for more than one web-app is a bit tricky. Simpler part is creating subclasses of TapestryFilter one that loads hibernate and shares it via ServletContext one that loads Tapestry without hibernate

Re: T5: best practice for a multiple module app

2008-02-04 Thread Renat Zubairov
Hi Angelo, Basically if you have a number of web application, Tap or not Tap :) there are number of problems you need to solve if you want them to look as one application for the user: 1. Authentication - in case you would use propreitary authentication schemes that are based on the HTTP

Re: T5: best practice for a multiple module app

2008-02-04 Thread Angelo Chen
Hi Renat, I think your recommendation of j2ee and ear deployment is a better option, i think again, there is really no need to make the multiple module looks like one, we can have multiple web applications, now this T5 IOC inside EJB part without EJB is interesting, what's the advantage of this

Re: T5: best practice for a multiple module app

2008-02-04 Thread Anton Gavazuk
It makes Hibernate working as Jboss MBean service, this service is responsible for working with Hibernate sessions. This way leaves you only with JBoss, without any alternative. 2008/2/4, Jonathan Barker [EMAIL PROTECTED]: Angelo, Take a look at JBoss .har files. I've never tried it but it

RE: T5: best practice for a multiple module app

2008-02-04 Thread Jonathan Barker
Angelo, Take a look at JBoss .har files. I've never tried it but it might be a way to share a common Hibernate setup among multiple webapps. Jonathan -Original Message- From: Angelo Chen [mailto:[EMAIL PROTECTED] Sent: Sunday, February 03, 2008 8:28 PM To: users@tapestry.apache.org

Re: T5: best practice for a multiple module app

2008-02-03 Thread Renat Zubairov
Hello Angelo, Main question is do you want to use EJB in your app or not, because usually there is no proper way to share state between multiple WAR's deployed inside the application container. Renat On 04/02/2008, Angelo Chen [EMAIL PROTECTED] wrote: Hi, A mini ERP project which will