You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Cyrille37 <cy...@gmail.com> on 2007/01/23 18:02:48 UTC

Tapestry in a J2EE Architecture

Hello,
I have spent some time to learn Tapestry, and it will be my WebFront 
framework. In this time I've learned a little about J2EE too.

Now I've to create the architecture of my project. It must be a 
multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
Glassfish), and finally Mysql5 for the Data part.
Tapestry will be the WebFront framework, so it will run on Tomcat, with 
probably the help of Spring2 framework for some stuff.

I would like to have your opinion, comment, help and links about how to 
make Tapestry works with applications hosted on the J2EE AS ... For da 
moment I'm really floating in the unknown.

Thanks a lot
Cyrille.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Cyrille37 <cy...@gmail.com>.
Joel Grignou a écrit :
> Hello,
>
> To speed up the startup of your app, I would consider using "appfuse"
> http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
> which wraps Tapestry with Spring and Hibernate.
>   
Thanks for that Joel.

I'd learned some J2EE Stuff while learning Tapestry: Appfuse, Spring2, 
JPA, Acegi ...
Now what I need is a "How To Think" for construct an multi-tier 
applications on differents servers (Tomcat, JBoss).

For example:
A user has a Session in Tapestry (on Tomcat). Tapestry use some 
applications hosted by JBoss on another server and those application 
have Session too. I do not know how those 2 Sessions work.
And this is only a little peace of my ignorance.

Cheers
cyrille

> Joel
>
> Il giorno mar, 23/01/2007 alle 18.02 +0100, Cyrille37 ha scritto:
>   
>> Hello,
>> I have spent some time to learn Tapestry, and it will be my WebFront 
>> framework. In this time I've learned a little about J2EE too.
>>
>> Now I've to create the architecture of my project. It must be a 
>> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
>> Glassfish), and finally Mysql5 for the Data part.
>> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
>> probably the help of Spring2 framework for some stuff.
>>
>> I would like to have your opinion, comment, help and links about how to 
>> make Tapestry works with applications hosted on the J2EE AS ... For da 
>> moment I'm really floating in the unknown.
>>
>> Thanks a lot
>> Cyrille.
>>     



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Joel Grignou <j....@infovadis.it>.
Hello,

To speed up the startup of your app, I would consider using "appfuse"
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
which wraps Tapestry with Spring and Hibernate.

Joel

Il giorno mar, 23/01/2007 alle 18.02 +0100, Cyrille37 ha scritto:
> Hello,
> I have spent some time to learn Tapestry, and it will be my WebFront 
> framework. In this time I've learned a little about J2EE too.
> 
> Now I've to create the architecture of my project. It must be a 
> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
> Glassfish), and finally Mysql5 for the Data part.
> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
> probably the help of Spring2 framework for some stuff.
> 
> I would like to have your opinion, comment, help and links about how to 
> make Tapestry works with applications hosted on the J2EE AS ... For da 
> moment I'm really floating in the unknown.
> 
> Thanks a lot
> Cyrille.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Spoilt for choice.....which Tapestry project to start with

Posted by mu...@fantasymail.de.
Thanks! Haven not tried it yet, but JBoss makes the setup more complex....so you have Tomcat, Apache,? the database and JBoss...so 4 things you need to check and make sure they are running all the time. 

Why do you need an application server if you use hibernate & hivemind ?

-------- Original-Nachricht --------
Datum: Mon, 5 Feb 2007 08:17:40 +1100
Von: Geoff Callender <ge...@mac.com>
An: Tapestry users <us...@tapestry.apache.org>
CC: 
Betreff: Re: Spoilt for choice.....which Tapestry project to start with

> If you try out JumpStart Min, I'd be really keen to hear what helps  
> you and what hinders you as a beginner.
> 
> Regards,
> 
> Geoff Callender
> 
> On 24/01/2007, at 11:15 PM, munich@fantasymail.de wrote:
> 
> > I am starting from scratch with a new Tapestry project...but
> > I am spoilt for choice and can not decide which Tapestry project
> > to take to start with:
> >
> > - the Cognition Framework?
> > - HoneycombLib?
> > - AppFuse ?
> > - JumpStart?
> > - Tapernate?
> >
> > The problem with Tapestry is maybe that there is so many decisions  
> > to make and no "standard" way of doing it.....before you do your  
> > helloWorld
> >
> > E.g. you have Hibernate Cayenne...Spring, Hivemind, Acegi.....
> >
> > If you start as a beginner you do not know enough to make a  
> > decision - unlike a PHP or dot Net developer, WebObjects developer  
> > - they dont have much choice and can just start with it without  
> > making hundreds of decision before getting started..................
> >
> > Maybe some stuff could be "integrated" into Tapesty by default?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Spoilt for choice.....which Tapestry project to start with

Posted by Geoff Callender <ge...@mac.com>.
If you try out JumpStart Min, I'd be really keen to hear what helps  
you and what hinders you as a beginner.

Regards,

Geoff Callender

On 24/01/2007, at 11:15 PM, munich@fantasymail.de wrote:

> I am starting from scratch with a new Tapestry project...but
> I am spoilt for choice and can not decide which Tapestry project
> to take to start with:
>
> - the Cognition Framework?
> - HoneycombLib?
> - AppFuse ?
> - JumpStart?
> - Tapernate?
>
> The problem with Tapestry is maybe that there is so many decisions  
> to make and no "standard" way of doing it.....before you do your  
> helloWorld
>
> E.g. you have Hibernate Cayenne...Spring, Hivemind, Acegi.....
>
> If you start as a beginner you do not know enough to make a  
> decision - unlike a PHP or dot Net developer, WebObjects developer  
> - they dont have much choice and can just start with it without  
> making hundreds of decision before getting started..................
>
> Maybe some stuff could be "integrated" into Tapesty by default?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Spoilt for choice.....which Tapestry project to start with

Posted by Michael Gloegl <mi...@alemo.de>.
Hi,

I would start with just "plain old" Tapestry really, and only integrate 
other frameworks/librarys when the need for them arises. I find that 
(especially when you are learning) too much frameworkiness only confuses 
things.

Greets, Michael

munich@fantasymail.de schrieb:
> I am starting from scratch with a new Tapestry project...but 
> I am spoilt for choice and can not decide which Tapestry project
> to take to start with:
> 
> - the Cognition Framework?
> - HoneycombLib?
> - AppFuse ?
> - JumpStart?
> - Tapernate?
> 
> The problem with Tapestry is maybe that there is so many decisions to make and no "standard" way of doing it.....before you do your helloWorld
> 
> E.g. you have Hibernate Cayenne...Spring, Hivemind, Acegi.....
> 
> If you start as a beginner you do not know enough to make a decision - unlike a PHP or dot Net developer, WebObjects developer - they dont have much choice and can just start with it without making hundreds of decision before getting started..................
> 
> Maybe some stuff could be "integrated" into Tapesty by default?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Spoilt for choice.....which Tapestry project to start with

Posted by mu...@fantasymail.de.
I am starting from scratch with a new Tapestry project...but 
I am spoilt for choice and can not decide which Tapestry project
to take to start with:

- the Cognition Framework?
- HoneycombLib?
- AppFuse ?
- JumpStart?
- Tapernate?

The problem with Tapestry is maybe that there is so many decisions to make and no "standard" way of doing it.....before you do your helloWorld

E.g. you have Hibernate Cayenne...Spring, Hivemind, Acegi.....

If you start as a beginner you do not know enough to make a decision - unlike a PHP or dot Net developer, WebObjects developer - they dont have much choice and can just start with it without making hundreds of decision before getting started..................

Maybe some stuff could be "integrated" into Tapesty by default?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Peter Stavrinides <p....@albourne.com>.
Len, this is exactly what I have been doing... I have spent nearly a 
year on this project and I am still learning new stuff every day. Most 
of my problems are deployment and configuration related though (I seem 
to spend more time on this than anything else). I love this stuff but it 
is highly unproductive because you waste so much time fiddling.

Peter

My configuration:

A J2EE application. -> connects to postgres
eclipse (development environment for both J2EE and Tapestry)
Hivemind


 I try to use service based architecture to talk to it

Marilen Corciovei wrote:
> On Wed, 2007-01-24 at 10:09 +0100, Cyrille37 wrote:
>
>   
>> Hello Len,
>>
>> Marilen Corciovei a écrit :
>>     
>>> I think you should arm yourself with lot of patience. We are doing here
>>> a development which involves Tapestry as interface and various JBoss
>>> services and EJB3
>>>   
>>>       
>> It's what I will have to do soon ...
>>     
>>> I think most problems we have had where related to:
>>> - various configuration, packaging and classloader conflicts. Such
>>> problems can easy make you loose have a day for nothing. For example
>>> something as simple as logging and it's not easy enough
>>> http://www.len.ro/work/articles/jboss/webapp-logging/  
>>> - integrating the monitoring application with the jboss service
>>> dependency mechanism and jmx in such a way it whould work both with the
>>> webapp in jboss and in a remote tomcat.
>>>   
>>>       
>> I'm afraid about all that stuff. J2EE environment seems to be very 
>> complex to make working fine.
>>
>> Do you have such bad experience with JBoss failover and loadbalancing ?
>>     
>
> In fact once the things got working, we did not had much problems. What
> drived us crazy are all those stupid small problems during the
> development and testing phases.
>
> Len
> www.len.ro
>
>   
>> cyrille.
>>     
>>> The simplest part was working with EJB3.
>>>
>>> Len
>>> www.len.ro
>>>
>>> On Tue, 2007-01-23 at 18:02 +0100, Cyrille37 wrote:
>>>
>>>   
>>>       
>>>> Hello,
>>>> I have spent some time to learn Tapestry, and it will be my WebFront 
>>>> framework. In this time I've learned a little about J2EE too.
>>>>
>>>> Now I've to create the architecture of my project. It must be a 
>>>> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
>>>> Glassfish), and finally Mysql5 for the Data part.
>>>> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
>>>> probably the help of Spring2 framework for some stuff.
>>>>
>>>> I would like to have your opinion, comment, help and links about how to 
>>>> make Tapestry works with applications hosted on the J2EE AS ... For da 
>>>> moment I'm really floating in the unknown.
>>>>
>>>> Thanks a lot
>>>> Cyrille.
>>>>
>>>>
>>>>     
>>>>         
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>     
>
>   

-- 
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652 

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail. 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Marilen Corciovei <le...@nemesisit.rdsnet.ro>.
On Wed, 2007-01-24 at 10:09 +0100, Cyrille37 wrote:

> Hello Len,
> 
> Marilen Corciovei a écrit :
> > I think you should arm yourself with lot of patience. We are doing here
> > a development which involves Tapestry as interface and various JBoss
> > services and EJB3
> >   
> It's what I will have to do soon ...
> > I think most problems we have had where related to:
> > - various configuration, packaging and classloader conflicts. Such
> > problems can easy make you loose have a day for nothing. For example
> > something as simple as logging and it's not easy enough
> > http://www.len.ro/work/articles/jboss/webapp-logging/  
> > - integrating the monitoring application with the jboss service
> > dependency mechanism and jmx in such a way it whould work both with the
> > webapp in jboss and in a remote tomcat.
> >   
> I'm afraid about all that stuff. J2EE environment seems to be very 
> complex to make working fine.
> 
> Do you have such bad experience with JBoss failover and loadbalancing ?

In fact once the things got working, we did not had much problems. What
drived us crazy are all those stupid small problems during the
development and testing phases.

Len
www.len.ro

> cyrille.
> > The simplest part was working with EJB3.
> >
> > Len
> > www.len.ro
> >
> > On Tue, 2007-01-23 at 18:02 +0100, Cyrille37 wrote:
> >
> >   
> >> Hello,
> >> I have spent some time to learn Tapestry, and it will be my WebFront 
> >> framework. In this time I've learned a little about J2EE too.
> >>
> >> Now I've to create the architecture of my project. It must be a 
> >> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
> >> Glassfish), and finally Mysql5 for the Data part.
> >> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
> >> probably the help of Spring2 framework for some stuff.
> >>
> >> I would like to have your opinion, comment, help and links about how to 
> >> make Tapestry works with applications hosted on the J2EE AS ... For da 
> >> moment I'm really floating in the unknown.
> >>
> >> Thanks a lot
> >> Cyrille.
> >>
> >>
> >>     
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

Re: Tapestry in a J2EE Architecture

Posted by Cyrille37 <cy...@gmail.com>.
Hello Len,

Marilen Corciovei a écrit :
> I think you should arm yourself with lot of patience. We are doing here
> a development which involves Tapestry as interface and various JBoss
> services and EJB3
>   
It's what I will have to do soon ...
> I think most problems we have had where related to:
> - various configuration, packaging and classloader conflicts. Such
> problems can easy make you loose have a day for nothing. For example
> something as simple as logging and it's not easy enough
> http://www.len.ro/work/articles/jboss/webapp-logging/  
> - integrating the monitoring application with the jboss service
> dependency mechanism and jmx in such a way it whould work both with the
> webapp in jboss and in a remote tomcat.
>   
I'm afraid about all that stuff. J2EE environment seems to be very 
complex to make working fine.

Do you have such bad experience with JBoss failover and loadbalancing ?

cyrille.
> The simplest part was working with EJB3.
>
> Len
> www.len.ro
>
> On Tue, 2007-01-23 at 18:02 +0100, Cyrille37 wrote:
>
>   
>> Hello,
>> I have spent some time to learn Tapestry, and it will be my WebFront 
>> framework. In this time I've learned a little about J2EE too.
>>
>> Now I've to create the architecture of my project. It must be a 
>> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
>> Glassfish), and finally Mysql5 for the Data part.
>> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
>> probably the help of Spring2 framework for some stuff.
>>
>> I would like to have your opinion, comment, help and links about how to 
>> make Tapestry works with applications hosted on the J2EE AS ... For da 
>> moment I'm really floating in the unknown.
>>
>> Thanks a lot
>> Cyrille.
>>
>>
>>     



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Marilen Corciovei <le...@nemesisit.rdsnet.ro>.
I think you should arm yourself with lot of patience. We are doing here
a development which involves Tapestry as interface and various JBoss
services and EJB3
I think most problems we have had where related to:
- various configuration, packaging and classloader conflicts. Such
problems can easy make you loose have a day for nothing. For example
something as simple as logging and it's not easy enough
http://www.len.ro/work/articles/jboss/webapp-logging/  
- integrating the monitoring application with the jboss service
dependency mechanism and jmx in such a way it whould work both with the
webapp in jboss and in a remote tomcat. 

The simplest part was working with EJB3.

Len
www.len.ro

On Tue, 2007-01-23 at 18:02 +0100, Cyrille37 wrote:

> Hello,
> I have spent some time to learn Tapestry, and it will be my WebFront 
> framework. In this time I've learned a little about J2EE too.
> 
> Now I've to create the architecture of my project. It must be a 
> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
> Glassfish), and finally Mysql5 for the Data part.
> Tapestry will be the WebFront framework, so it will run on Tomcat, with 
> probably the help of Spring2 framework for some stuff.
> 
> I would like to have your opinion, comment, help and links about how to 
> make Tapestry works with applications hosted on the J2EE AS ... For da 
> moment I'm really floating in the unknown.
> 
> Thanks a lot
> Cyrille.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

Re: Tapestry in a J2EE Architecture

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Yes, book would be better than AppFuse. AppFuse might
have improved since I looked at that about a year ago,
but at that time it was way too confusing for people
not quite familiar with all the frameworks and tricks.

--- Hugo Palma <hu...@gmail.com> wrote:

> You should definitely get Kent's book on 
> Tapestry(http://www.agileskills2.org/EWDT/).
> 
> Cyrille37 wrote:
> > Hello,
> > I have spent some time to learn Tapestry, and it
> will be my WebFront 
> > framework. In this time I've learned a little
> about J2EE too.
> >
> > Now I've to create the architecture of my project.
> It must be a 
> > multi-tier architecture, with Apache & Tomcat, a
> J2EE AS (JBoss or 
> > Glassfish), and finally Mysql5 for the Data part.
> > Tapestry will be the WebFront framework, so it
> will run on Tomcat, 
> > with probably the help of Spring2 framework for
> some stuff.
> >
> > I would like to have your opinion, comment, help
> and links about how 
> > to make Tapestry works with applications hosted on
> the J2EE AS ... For 
> > da moment I'm really floating in the unknown.
> >
> > Thanks a lot
> > Cyrille.
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail:
> users-help@tapestry.apache.org
> >
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry in a J2EE Architecture

Posted by Hugo Palma <hu...@gmail.com>.
You should definitely get Kent's book on 
Tapestry(http://www.agileskills2.org/EWDT/).

Cyrille37 wrote:
> Hello,
> I have spent some time to learn Tapestry, and it will be my WebFront 
> framework. In this time I've learned a little about J2EE too.
>
> Now I've to create the architecture of my project. It must be a 
> multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or 
> Glassfish), and finally Mysql5 for the Data part.
> Tapestry will be the WebFront framework, so it will run on Tomcat, 
> with probably the help of Spring2 framework for some stuff.
>
> I would like to have your opinion, comment, help and links about how 
> to make Tapestry works with applications hosted on the J2EE AS ... For 
> da moment I'm really floating in the unknown.
>
> Thanks a lot
> Cyrille.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>