Re: t5's version?

2008-05-22 Thread mark lu

thank all of you guys and your interestring discuss!
and i prefer jetty too.
but,who can solve my problem?


Peter Stavrinides wrote:
> 
> Hi Szemere,
> 
> I am very interested in JBoss, the reason is that we have J2EE
> applications that we need to combine with our Tapestry web application,
> and whatever is easier to work with gets my vote!
> 
> I have found Jetty to be the best, for development at least. In addition
> to the hot code replace issues Tomcat has, Tomcat often caches data
> causing some problems, especially with the partial restarts it does to
> compensate for class reloading inefficiencies. 
> 
> However Jetty is very lightweight, in eclipse we linked our web
> application with another J2EE application module running on Tomcat, but we
> couldn't replicate this setup to run with Jetty. I tested this briefly
> with JBoss and it also worked but JBoss had far too much baggage and was
> too slow... if you have any pointers / resources on how can you trim JBoss
> down, I would love to give it another try! 
> 
> For a production server I swear by Tomcat still, Tomcat 6 is apparantly
> supposed to be very good performance wise, and the built in connectors
> like Apache's AJP connector make it easy to configure as reverse proxy to
> Apache. Please excuse my ignorance, but what added benefit/s does a JBoss
> wrapped Tomcat bring?
> 
> thanks,
> Peter
> 
> - Original Message -
> From: "Szemere Szemere" <[EMAIL PROTECTED]>
> To: "Tapestry users" 
> Sent: Thursday, 22 May, 2008 5:16:25 PM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: t5's version?
> 
> I can certainly recommend JBoss as a wrapper around Tomcat to solve the
> classloader issues. It's auto-deploy feature is really effective. You
> could
> say it's a little like taking a sledgehammer to crack a nut, but you can
> slim the sledgehammer (JBoss) down and it does the job  effectively and so
> much better than anything else I've seen. That's our production solution -
> for dev we also use Jetty, sometimes JBoss-Tomcat.
> 
> Szemere
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%27s-version--tp17343189p17418953.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-22 Thread Peter Stavrinides
Hi Szemere,

I am very interested in JBoss, the reason is that we have J2EE applications 
that we need to combine with our Tapestry web application, and whatever is 
easier to work with gets my vote!

I have found Jetty to be the best, for development at least. In addition to the 
hot code replace issues Tomcat has, Tomcat often caches data causing some 
problems, especially with the partial restarts it does to compensate for class 
reloading inefficiencies. 

However Jetty is very lightweight, in eclipse we linked our web application 
with another J2EE application module running on Tomcat, but we couldn't 
replicate this setup to run with Jetty. I tested this briefly with JBoss and it 
also worked but JBoss had far too much baggage and was too slow... if you have 
any pointers / resources on how can you trim JBoss down, I would love to give 
it another try! 

For a production server I swear by Tomcat still, Tomcat 6 is apparantly 
supposed to be very good performance wise, and the built in connectors like 
Apache's AJP connector make it easy to configure as reverse proxy to Apache. 
Please excuse my ignorance, but what added benefit/s does a JBoss wrapped 
Tomcat bring?

thanks,
Peter

- Original Message -
From: "Szemere Szemere" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Thursday, 22 May, 2008 5:16:25 PM GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: t5's version?

I can certainly recommend JBoss as a wrapper around Tomcat to solve the
classloader issues. It's auto-deploy feature is really effective. You could
say it's a little like taking a sledgehammer to crack a nut, but you can
slim the sledgehammer (JBoss) down and it does the job  effectively and so
much better than anything else I've seen. That's our production solution -
for dev we also use Jetty, sometimes JBoss-Tomcat.

Szemere

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-22 Thread Szemere Szemere
I can certainly recommend JBoss as a wrapper around Tomcat to solve the
classloader issues. It's auto-deploy feature is really effective. You could
say it's a little like taking a sledgehammer to crack a nut, but you can
slim the sledgehammer (JBoss) down and it does the job  effectively and so
much better than anything else I've seen. That's our production solution -
for dev we also use Jetty, sometimes JBoss-Tomcat.

Szemere


Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

Hi Josh,

With Tomcat it's all the small, annoying problems I encounter every once 
in a while and the fact that it's slooow compared to Jetty. And since I 
use it for development I might as well use it in production.


With MySQL... I sort of just want to try (and learn) something new. That 
and the fact that MySQL is just weird sometimes.


And since I'm the one making the decisions around here, I can do 
whatever I want. :)


-Filip

On 2008-05-21 19:17, Josh Canfield wrote:

Hey Filip,

I'm using the same environment that you've described. I'm curious
about your choice to move from MySQL and Tomcat. I've considered
making the two changes you are working on, and I'm curious what made
you take the leap?

Josh

On Wed, May 21, 2008 at 3:30 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:

My projects are setup with Maven, stored in Subversion, edited in IntelliJ
IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 (for now,
moving to Jetty soon) and use Hibernate with MySQL (although I'm migrating
to PostgreSQL soon) for data access.

-Filip

mark lu skrev:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the commits
and JIRA issues. :)

All the advice I can give is that you read ALL the docs on T5 and go from
there. Learning Spring is not necessary with T5 IoC. Hibernate is a very
good framework to know, though - I use it extensively myself.

I can't recommend a database for you, it depends on the kind of
application you want to make, your budget, where you deploy, etc.

What do you mean by what "knowledges" I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
current beta version is 5.0.11 with 5.0.12 available as snapshots.

As T5 was alpha when Alexander wrote the book, there have been quite a
few changes since then. You can see some of them at
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

If there's anything else that doesn't work I'd advise you to check out
the relevant docs at the website, and if that doesn't solve your problem,
send a mail to this list. We'll probably be able to tell you what's going
on.

Regarding T5 applications, I've had one site running since December 2,
2007 and another site up since August, 2007.

-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to
learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even
though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Josh Canfield
Hey Filip,

I'm using the same environment that you've described. I'm curious
about your choice to move from MySQL and Tomcat. I've considered
making the two changes you are working on, and I'm curious what made
you take the leap?

Josh

On Wed, May 21, 2008 at 3:30 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> My projects are setup with Maven, stored in Subversion, edited in IntelliJ
> IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 (for now,
> moving to Jetty soon) and use Hibernate with MySQL (although I'm migrating
> to PostgreSQL soon) for data access.
>
> -Filip
>
> mark lu skrev:
>>
>> sorry,i mean what technology do you use in you web application?
>> such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
>> thank you for your help!!
>>
>>
>> Filip S. Adamsen-2 wrote:
>>>
>>> Hi,
>>>
>>> I'm hardly an expert. I just read the docs and keep an eye on the commits
>>> and JIRA issues. :)
>>>
>>> All the advice I can give is that you read ALL the docs on T5 and go from
>>> there. Learning Spring is not necessary with T5 IoC. Hibernate is a very
>>> good framework to know, though - I use it extensively myself.
>>>
>>> I can't recommend a database for you, it depends on the kind of
>>> application you want to make, your budget, where you deploy, etc.
>>>
>>> What do you mean by what "knowledges" I use?
>>>
>>> -Filip
>>>
>>> mark lu skrev:

 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
>
> Hi there,
>
> Welcome to the list. :)
>
> Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
> current beta version is 5.0.11 with 5.0.12 available as snapshots.
>
> As T5 was alpha when Alexander wrote the book, there have been quite a
> few changes since then. You can see some of them at
> http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.
>
> If there's anything else that doesn't work I'd advise you to check out
> the relevant docs at the website, and if that doesn't solve your problem,
> send a mail to this list. We'll probably be able to tell you what's going
> on.
>
> Regarding T5 applications, I've had one site running since December 2,
> 2007 and another site up since August, 2007.
>
> -Filip
>
> On 2008-05-20 17:27, mark lu wrote:
>>
>> i am new to tapestry.
>> i just want to use t5 to build my application and i don't want to
>> learn
>> the
>> inner technology of t5.
>> so,what's the stable version of t5?
>> i have read Alexander Kolesnikov's book--tapestry 5 build web
>> application,and know something about t5.
>> however,during my studying process,i encountered some problem even
>> though
>> i
>> have followed the book.
>> so,i think it's the framework's bug,maybe.
>> so...who can help me?
>>
>> another question:
>> whoever have built a application using t5 already?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Howard Lewis Ship
On Wed, May 21, 2008 at 3:08 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> You can use pretty much any IDE to develop your web application, but
> Howard (the creator) as well as most people on the list use Eclipse,
> so if you need IDE-specific help, you're most likely to get it here
> with Eclipse as your tool.
>
> For application server (aka servlet container), again, you can use
> anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
> is heavily preferred here is Jetty, for its speed and simplicity.
> Again, you'll eliminate tons of potential problems related to app
> server setup if you choose Jetty at least for you local development.
> For example, under Jetty Tapestry live class reloading works
> flawlessly, but not so under Tomcat (due to Tomcat's internal design,
> specifically it's classloader design).
>
> Other than those two, you're free to use any technology. Tapestry has
> a great support for Hibernate, so if you choose that you'll be right
> at home. I personally use iBatis, and have had no problems integrating
> it with Tapestry. Spring is also very well supported, but really, not
> needed since one of Spring's biggest advantages, it's IOC container,
> has built-in functionality in Tapestry. What I mean is that Tapestry
> has a fantastic IOC container itself, which pretty much eliminates the
> need for Spring. If you need AOP, integrating AspectJ should work just
> as well. I wrote few applications in Tapestry 5 where the only part of
> Spring I used was spring-core, spring-dao and spring-jdbc, to take
> advantage of Spring data access layer. Tapestry is very, very flexible
>  in regards what technology stack you want to use with it.
>
> If you're used to logging with Log4J this may be a bit of change to
> you, as Tapestry uses simple logging facade rather than commons
> logging. What this means, you won't be using Log4J directly in your
> apps as you may have in the past, instead you'll be using Logger class
> from http://www.slf4j.org/. It takes a while getting used to, because
> at first I would find myself using Log4J in non-Tapestry classes
> anyway (just a habit) rather than pulling in slf4j.
>
> Finally, Tapestry 5 is a world-class code! If you have a chance take a
> look at it's sources. It reads like a poem, simply put, it's a
> masterpiece. What I mean by that is that it follows all the best
> practices, desgin patterns, and everything a programmer should be
> doing. You can learn a great bit about system design by following
> patterns used by Tapestry itself.

Thanks for the complements!  I prefer all my DSLs to be in iambic pentameter.

>
> It really helps to be very famliar with Inversion of Control, as
> Tapestry implements it quite differently than what many newcommers are
> used to. Using dependencies is very easy, as you found from the book,
> just do @Inject, @InjectPage etc and bam! it's there. Setting up your
> own (dao's, etc) is different though, as you build a "module" with
> build methods or bindings, I'd recommend to get very familiar with
> Tapestry IOC section on the website:
> http://tapestry.apache.org/tapestry5/tapestry-ioc/.
>
> Other than that, I can only say Tapestry 5 is a pleasure to work with!
> It's power is amazing, anything can be changed and configured, so if
> you're ever thinking, jeez I don't like this or that default, what
> now? Just send and e-mail to this list, and you'll see it most likely
> can be changed the way you want it.
>
> Enjoy!
>
> On Wed, May 21, 2008 at 3:40 AM, mark lu <[EMAIL PROTECTED]> wrote:
>>
>> sorry,i mean what technology do you use in you web application?
>> such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
>> thank you for your help!!
>>
>>
>> Filip S. Adamsen-2 wrote:
>>>
>>> Hi,
>>>
>>> I'm hardly an expert. I just read the docs and keep an eye on the
>>> commits and JIRA issues. :)
>>>
>>> All the advice I can give is that you read ALL the docs on T5 and go
>>> from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
>>> very good framework to know, though - I use it extensively myself.
>>>
>>> I can't recommend a database for you, it depends on the kind of
>>> application you want to make, your budget, where you deploy, etc.
>>>
>>> What do you mean by what "knowledges" I use?
>>>
>>> -Filip
>>>
>>> mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
> Hi there,
>
> Welcome to the list. :)
>
> Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
> current beta version is 5.0.11 with 5.0.12 available as snapshots.
>
> As T5 was alpha when A

Re: t5's version?

2008-05-21 Thread mark lu

As you say,there is no need to use spring,so i'll study hibernate next,am i
right?:)
BTW,i don't master maven,is't going to be a problem during my learning?is't
very useful?
i don't like the command line's tools!



Adam Zimowski wrote:
> 
> You can use pretty much any IDE to develop your web application, but
> Howard (the creator) as well as most people on the list use Eclipse,
> so if you need IDE-specific help, you're most likely to get it here
> with Eclipse as your tool.
> 
> For application server (aka servlet container), again, you can use
> anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
> is heavily preferred here is Jetty, for its speed and simplicity.
> Again, you'll eliminate tons of potential problems related to app
> server setup if you choose Jetty at least for you local development.
> For example, under Jetty Tapestry live class reloading works
> flawlessly, but not so under Tomcat (due to Tomcat's internal design,
> specifically it's classloader design).
> 
> Other than those two, you're free to use any technology. Tapestry has
> a great support for Hibernate, so if you choose that you'll be right
> at home. I personally use iBatis, and have had no problems integrating
> it with Tapestry. Spring is also very well supported, but really, not
> needed since one of Spring's biggest advantages, it's IOC container,
> has built-in functionality in Tapestry. What I mean is that Tapestry
> has a fantastic IOC container itself, which pretty much eliminates the
> need for Spring. If you need AOP, integrating AspectJ should work just
> as well. I wrote few applications in Tapestry 5 where the only part of
> Spring I used was spring-core, spring-dao and spring-jdbc, to take
> advantage of Spring data access layer. Tapestry is very, very flexible
>  in regards what technology stack you want to use with it.
> 
> If you're used to logging with Log4J this may be a bit of change to
> you, as Tapestry uses simple logging facade rather than commons
> logging. What this means, you won't be using Log4J directly in your
> apps as you may have in the past, instead you'll be using Logger class
> from http://www.slf4j.org/. It takes a while getting used to, because
> at first I would find myself using Log4J in non-Tapestry classes
> anyway (just a habit) rather than pulling in slf4j.
> 
> Finally, Tapestry 5 is a world-class code! If you have a chance take a
> look at it's sources. It reads like a poem, simply put, it's a
> masterpiece. What I mean by that is that it follows all the best
> practices, desgin patterns, and everything a programmer should be
> doing. You can learn a great bit about system design by following
> patterns used by Tapestry itself.
> 
> It really helps to be very famliar with Inversion of Control, as
> Tapestry implements it quite differently than what many newcommers are
> used to. Using dependencies is very easy, as you found from the book,
> just do @Inject, @InjectPage etc and bam! it's there. Setting up your
> own (dao's, etc) is different though, as you build a "module" with
> build methods or bindings, I'd recommend to get very familiar with
> Tapestry IOC section on the website:
> http://tapestry.apache.org/tapestry5/tapestry-ioc/.
> 
> Other than that, I can only say Tapestry 5 is a pleasure to work with!
> It's power is amazing, anything can be changed and configured, so if
> you're ever thinking, jeez I don't like this or that default, what
> now? Just send and e-mail to this list, and you'll see it most likely
> can be changed the way you want it.
> 
> Enjoy!
> 
> On Wed, May 21, 2008 at 3:40 AM, mark lu <[EMAIL PROTECTED]> wrote:
>>
>> sorry,i mean what technology do you use in you web application?
>> such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
>> thank you for your help!!
>>
>>
>> Filip S. Adamsen-2 wrote:
>>>
>>> Hi,
>>>
>>> I'm hardly an expert. I just read the docs and keep an eye on the
>>> commits and JIRA issues. :)
>>>
>>> All the advice I can give is that you read ALL the docs on T5 and go
>>> from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
>>> very good framework to know, though - I use it extensively myself.
>>>
>>> I can't recommend a database for you, it depends on the kind of
>>> application you want to make, your budget, where you deploy, etc.
>>>
>>> What do you mean by what "knowledges" I use?
>>>
>>> -Filip
>>>
>>> mark lu skrev:
 Alexander 's book based on 5.0.6.
 i think you must be an expert in tapestry!
 i want to build my web application,cound you give me some advices?
 what other knowledges do i need except for tapestry?do i need learn
 spring
 or hibernate?
 Alexander recommend db4o as a database,how about you advice?
 what knowledges do you use in you web applicaton?
 thanks!!



 Filip S. Adamsen-2 wrote:
> Hi there,
>
> Welcome to the list. :)
>
> Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
> curren

Re: t5's version?

2008-05-21 Thread mark lu

Thank you for your explanation with so much patience and other warmhearted
guys!
i think i am in the right place!
My enviornment is:eclipse3.3 ,jetty6.1.9,tapestry5.0.6.

At first,i use tomcat,but whenever i changed the code there will be a error
pop up--hot code replace error,so i have to restart the server.it's very
annoy!so,i change to jetty,it's very fast!
BTW,who know how to conquer the "hot code replace error" in tomcat?
I have goolge this error,say i have to use IBM'vm,have i?

when i study t5,i have encountered some problems.the first one is about ASO:
in the page class,i declare a variable:
@ApplicationState
private IDataSource dataSource;//IDataSource  is a interface

in AppModule:
public void contributeApplicationStateManager(
  MappedConfiguration configuration) {

 ApplicationStateCreator creator = new
ApplicationStateCreator() {
public IDataSource create() {
return new MockDataSource();
}
};

configuration.add(IDataSource.class, new 
ApplicationStateContribution(
"session", creator));
}



the error is:
Failure reading parameter source of component ShowAll:grid:
java.lang.InstantiationException: com.packtpub.celebrities.data.IDataSource


what's the problem?


Adam Zimowski wrote:
> 
> You can use pretty much any IDE to develop your web application, but
> Howard (the creator) as well as most people on the list use Eclipse,
> so if you need IDE-specific help, you're most likely to get it here
> with Eclipse as your tool.
> 
> For application server (aka servlet container), again, you can use
> anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
> is heavily preferred here is Jetty, for its speed and simplicity.
> Again, you'll eliminate tons of potential problems related to app
> server setup if you choose Jetty at least for you local development.
> For example, under Jetty Tapestry live class reloading works
> flawlessly, but not so under Tomcat (due to Tomcat's internal design,
> specifically it's classloader design).
> 
> Other than those two, you're free to use any technology. Tapestry has
> a great support for Hibernate, so if you choose that you'll be right
> at home. I personally use iBatis, and have had no problems integrating
> it with Tapestry. Spring is also very well supported, but really, not
> needed since one of Spring's biggest advantages, it's IOC container,
> has built-in functionality in Tapestry. What I mean is that Tapestry
> has a fantastic IOC container itself, which pretty much eliminates the
> need for Spring. If you need AOP, integrating AspectJ should work just
> as well. I wrote few applications in Tapestry 5 where the only part of
> Spring I used was spring-core, spring-dao and spring-jdbc, to take
> advantage of Spring data access layer. Tapestry is very, very flexible
>  in regards what technology stack you want to use with it.
> 
> If you're used to logging with Log4J this may be a bit of change to
> you, as Tapestry uses simple logging facade rather than commons
> logging. What this means, you won't be using Log4J directly in your
> apps as you may have in the past, instead you'll be using Logger class
> from http://www.slf4j.org/. It takes a while getting used to, because
> at first I would find myself using Log4J in non-Tapestry classes
> anyway (just a habit) rather than pulling in slf4j.
> 
> Finally, Tapestry 5 is a world-class code! If you have a chance take a
> look at it's sources. It reads like a poem, simply put, it's a
> masterpiece. What I mean by that is that it follows all the best
> practices, desgin patterns, and everything a programmer should be
> doing. You can learn a great bit about system design by following
> patterns used by Tapestry itself.
> 
> It really helps to be very famliar with Inversion of Control, as
> Tapestry implements it quite differently than what many newcommers are
> used to. Using dependencies is very easy, as you found from the book,
> just do @Inject, @InjectPage etc and bam! it's there. Setting up your
> own (dao's, etc) is different though, as you build a "module" with
> build methods or bindings, I'd recommend to get very familiar with
> Tapestry IOC section on the website:
> http://tapestry.apache.org/tapestry5/tapestry-ioc/.
> 
> Other than that, I can only say Tapestry 5 is a pleasure to work with!
> It's power is amazing, anything can be changed and configured, so if
> you're ever thinking, jeez I don't like this or that default, what
> now? Just send and e-mail to this list, and you'll see it most likely
> can be changed the way you want it.
> 
> Enjoy!
> 
> On Wed, May 21, 2008 at 3:40 AM, mark lu <[EMAIL PROTECTED]> wrote:
>>
>> sorry,i mean what technology do you use in you web application?
>> such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
>> thank you for your help!!
>>
>>
>> Filip S. Adamsen-2 wrote:
>>>
>>> Hi,
>>>
>>> I'm h

Re: t5's version?

2008-05-21 Thread Filip S. Adamsen
My projects are setup with Maven, stored in Subversion, edited in 
IntelliJ IDEA, run in Jetty for local testing, deployed to Tomcat 5.5 
(for now, moving to Jetty soon) and use Hibernate with MySQL (although 
I'm migrating to PostgreSQL soon) for data access.


-Filip

mark lu skrev:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the 
commits and JIRA issues. :)


All the advice I can give is that you read ALL the docs on T5 and go 
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
very good framework to know, though - I use it extensively myself.


I can't recommend a database for you, it depends on the kind of 
application you want to make, your budget, where you deploy, etc.


What do you mean by what "knowledges" I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
current beta version is 5.0.11 with 5.0.12 available as snapshots.


As T5 was alpha when Alexander wrote the book, there have been quite a 
few changes since then. You can see some of them at 
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.


If there's anything else that doesn't work I'd advise you to check out 
the relevant docs at the website, and if that doesn't solve your 
problem, send a mail to this list. We'll probably be able to tell you 
what's going on.


Regarding T5 applications, I've had one site running since December 2, 
2007 and another site up since August, 2007.


-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even
though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

What a great post!

One correction, though. Howard and a lot of other people - myself 
included - use IntelliJ IDEA. :)


-Filip

Adam Zimowski skrev:

You can use pretty much any IDE to develop your web application, but
Howard (the creator) as well as most people on the list use Eclipse,
so if you need IDE-specific help, you're most likely to get it here
with Eclipse as your tool.

For application server (aka servlet container), again, you can use
anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
is heavily preferred here is Jetty, for its speed and simplicity.
Again, you'll eliminate tons of potential problems related to app
server setup if you choose Jetty at least for you local development.
For example, under Jetty Tapestry live class reloading works
flawlessly, but not so under Tomcat (due to Tomcat's internal design,
specifically it's classloader design).

Other than those two, you're free to use any technology. Tapestry has
a great support for Hibernate, so if you choose that you'll be right
at home. I personally use iBatis, and have had no problems integrating
it with Tapestry. Spring is also very well supported, but really, not
needed since one of Spring's biggest advantages, it's IOC container,
has built-in functionality in Tapestry. What I mean is that Tapestry
has a fantastic IOC container itself, which pretty much eliminates the
need for Spring. If you need AOP, integrating AspectJ should work just
as well. I wrote few applications in Tapestry 5 where the only part of
Spring I used was spring-core, spring-dao and spring-jdbc, to take
advantage of Spring data access layer. Tapestry is very, very flexible
 in regards what technology stack you want to use with it.

If you're used to logging with Log4J this may be a bit of change to
you, as Tapestry uses simple logging facade rather than commons
logging. What this means, you won't be using Log4J directly in your
apps as you may have in the past, instead you'll be using Logger class
from http://www.slf4j.org/. It takes a while getting used to, because
at first I would find myself using Log4J in non-Tapestry classes
anyway (just a habit) rather than pulling in slf4j.

Finally, Tapestry 5 is a world-class code! If you have a chance take a
look at it's sources. It reads like a poem, simply put, it's a
masterpiece. What I mean by that is that it follows all the best
practices, desgin patterns, and everything a programmer should be
doing. You can learn a great bit about system design by following
patterns used by Tapestry itself.

It really helps to be very famliar with Inversion of Control, as
Tapestry implements it quite differently than what many newcommers are
used to. Using dependencies is very easy, as you found from the book,
just do @Inject, @InjectPage etc and bam! it's there. Setting up your
own (dao's, etc) is different though, as you build a "module" with
build methods or bindings, I'd recommend to get very familiar with
Tapestry IOC section on the website:
http://tapestry.apache.org/tapestry5/tapestry-ioc/.

Other than that, I can only say Tapestry 5 is a pleasure to work with!
It's power is amazing, anything can be changed and configured, so if
you're ever thinking, jeez I don't like this or that default, what
now? Just send and e-mail to this list, and you'll see it most likely
can be changed the way you want it.

Enjoy!

On Wed, May 21, 2008 at 3:40 AM, mark lu <[EMAIL PROTECTED]> wrote:

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the
commits and JIRA issues. :)

All the advice I can give is that you read ALL the docs on T5 and go
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
very good framework to know, though - I use it extensively myself.

I can't recommend a database for you, it depends on the kind of
application you want to make, your budget, where you deploy, etc.

What do you mean by what "knowledges" I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn
spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
current beta version is 5.0.11 with 5.0.12 available as snapshots.

As T5 was alpha when Alexander wrote the book, there have been quite a
few changes since then. You can see some of them at
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

If there's anything else that doesn't work I'd advise you to check out
the relevant docs at the website, and if that doesn't solve you

Re: t5's version?

2008-05-21 Thread Adam Zimowski
You can use pretty much any IDE to develop your web application, but
Howard (the creator) as well as most people on the list use Eclipse,
so if you need IDE-specific help, you're most likely to get it here
with Eclipse as your tool.

For application server (aka servlet container), again, you can use
anything (Tomcat, Resin, Jetty, JBoss, WebSphere, etc), but one that
is heavily preferred here is Jetty, for its speed and simplicity.
Again, you'll eliminate tons of potential problems related to app
server setup if you choose Jetty at least for you local development.
For example, under Jetty Tapestry live class reloading works
flawlessly, but not so under Tomcat (due to Tomcat's internal design,
specifically it's classloader design).

Other than those two, you're free to use any technology. Tapestry has
a great support for Hibernate, so if you choose that you'll be right
at home. I personally use iBatis, and have had no problems integrating
it with Tapestry. Spring is also very well supported, but really, not
needed since one of Spring's biggest advantages, it's IOC container,
has built-in functionality in Tapestry. What I mean is that Tapestry
has a fantastic IOC container itself, which pretty much eliminates the
need for Spring. If you need AOP, integrating AspectJ should work just
as well. I wrote few applications in Tapestry 5 where the only part of
Spring I used was spring-core, spring-dao and spring-jdbc, to take
advantage of Spring data access layer. Tapestry is very, very flexible
 in regards what technology stack you want to use with it.

If you're used to logging with Log4J this may be a bit of change to
you, as Tapestry uses simple logging facade rather than commons
logging. What this means, you won't be using Log4J directly in your
apps as you may have in the past, instead you'll be using Logger class
from http://www.slf4j.org/. It takes a while getting used to, because
at first I would find myself using Log4J in non-Tapestry classes
anyway (just a habit) rather than pulling in slf4j.

Finally, Tapestry 5 is a world-class code! If you have a chance take a
look at it's sources. It reads like a poem, simply put, it's a
masterpiece. What I mean by that is that it follows all the best
practices, desgin patterns, and everything a programmer should be
doing. You can learn a great bit about system design by following
patterns used by Tapestry itself.

It really helps to be very famliar with Inversion of Control, as
Tapestry implements it quite differently than what many newcommers are
used to. Using dependencies is very easy, as you found from the book,
just do @Inject, @InjectPage etc and bam! it's there. Setting up your
own (dao's, etc) is different though, as you build a "module" with
build methods or bindings, I'd recommend to get very familiar with
Tapestry IOC section on the website:
http://tapestry.apache.org/tapestry5/tapestry-ioc/.

Other than that, I can only say Tapestry 5 is a pleasure to work with!
It's power is amazing, anything can be changed and configured, so if
you're ever thinking, jeez I don't like this or that default, what
now? Just send and e-mail to this list, and you'll see it most likely
can be changed the way you want it.

Enjoy!

On Wed, May 21, 2008 at 3:40 AM, mark lu <[EMAIL PROTECTED]> wrote:
>
> sorry,i mean what technology do you use in you web application?
> such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
> thank you for your help!!
>
>
> Filip S. Adamsen-2 wrote:
>>
>> Hi,
>>
>> I'm hardly an expert. I just read the docs and keep an eye on the
>> commits and JIRA issues. :)
>>
>> All the advice I can give is that you read ALL the docs on T5 and go
>> from there. Learning Spring is not necessary with T5 IoC. Hibernate is a
>> very good framework to know, though - I use it extensively myself.
>>
>> I can't recommend a database for you, it depends on the kind of
>> application you want to make, your budget, where you deploy, etc.
>>
>> What do you mean by what "knowledges" I use?
>>
>> -Filip
>>
>> mark lu skrev:
>>> Alexander 's book based on 5.0.6.
>>> i think you must be an expert in tapestry!
>>> i want to build my web application,cound you give me some advices?
>>> what other knowledges do i need except for tapestry?do i need learn
>>> spring
>>> or hibernate?
>>> Alexander recommend db4o as a database,how about you advice?
>>> what knowledges do you use in you web applicaton?
>>> thanks!!
>>>
>>>
>>>
>>> Filip S. Adamsen-2 wrote:
 Hi there,

 Welcome to the list. :)

 Alexander's book is based on Tapestry 5.0.7 or so, I believe. The
 current beta version is 5.0.11 with 5.0.12 available as snapshots.

 As T5 was alpha when Alexander wrote the book, there have been quite a
 few changes since then. You can see some of them at
 http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.

 If there's anything else that doesn't work I'd advise you to check out
 the relevant docs at the website, and if that does

Re: t5's version?

2008-05-21 Thread mark lu

sorry,i mean what technology do you use in you web application?
such as tapestry ,spring ,hibernate,cvs,eclipse,etc.
thank you for your help!!


Filip S. Adamsen-2 wrote:
> 
> Hi,
> 
> I'm hardly an expert. I just read the docs and keep an eye on the 
> commits and JIRA issues. :)
> 
> All the advice I can give is that you read ALL the docs on T5 and go 
> from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
> very good framework to know, though - I use it extensively myself.
> 
> I can't recommend a database for you, it depends on the kind of 
> application you want to make, your budget, where you deploy, etc.
> 
> What do you mean by what "knowledges" I use?
> 
> -Filip
> 
> mark lu skrev:
>> Alexander 's book based on 5.0.6.
>> i think you must be an expert in tapestry!
>> i want to build my web application,cound you give me some advices?
>> what other knowledges do i need except for tapestry?do i need learn
>> spring
>> or hibernate?
>> Alexander recommend db4o as a database,how about you advice?
>> what knowledges do you use in you web applicaton?
>> thanks!!
>> 
>> 
>> 
>> Filip S. Adamsen-2 wrote:
>>> Hi there,
>>>
>>> Welcome to the list. :)
>>>
>>> Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
>>> current beta version is 5.0.11 with 5.0.12 available as snapshots.
>>>
>>> As T5 was alpha when Alexander wrote the book, there have been quite a 
>>> few changes since then. You can see some of them at 
>>> http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.
>>>
>>> If there's anything else that doesn't work I'd advise you to check out 
>>> the relevant docs at the website, and if that doesn't solve your 
>>> problem, send a mail to this list. We'll probably be able to tell you 
>>> what's going on.
>>>
>>> Regarding T5 applications, I've had one site running since December 2, 
>>> 2007 and another site up since August, 2007.
>>>
>>> -Filip
>>>
>>> On 2008-05-20 17:27, mark lu wrote:
 i am new to tapestry.
 i just want to use t5 to build my application and i don't want to learn
 the
 inner technology of t5.
 so,what's the stable version of t5?
 i have read Alexander Kolesnikov's book--tapestry 5 build web
 application,and know something about t5.
 however,during my studying process,i encountered some problem even
 though
 i
 have followed the book.
 so,i think it's the framework's bug,maybe.
 so...who can help me?

 another question:
 whoever have built a application using t5 already?
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%27s-version--tp17343189p17358619.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-21 Thread Filip S. Adamsen

Hi,

I'm hardly an expert. I just read the docs and keep an eye on the 
commits and JIRA issues. :)


All the advice I can give is that you read ALL the docs on T5 and go 
from there. Learning Spring is not necessary with T5 IoC. Hibernate is a 
very good framework to know, though - I use it extensively myself.


I can't recommend a database for you, it depends on the kind of 
application you want to make, your budget, where you deploy, etc.


What do you mean by what "knowledges" I use?

-Filip

mark lu skrev:

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
current beta version is 5.0.11 with 5.0.12 available as snapshots.


As T5 was alpha when Alexander wrote the book, there have been quite a 
few changes since then. You can see some of them at 
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.


If there's anything else that doesn't work I'd advise you to check out 
the relevant docs at the website, and if that doesn't solve your 
problem, send a mail to this list. We'll probably be able to tell you 
what's going on.


Regarding T5 applications, I've had one site running since December 2, 
2007 and another site up since August, 2007.


-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn
the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even though
i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-20 Thread mark lu

Alexander 's book based on 5.0.6.
i think you must be an expert in tapestry!
i want to build my web application,cound you give me some advices?
what other knowledges do i need except for tapestry?do i need learn spring
or hibernate?
Alexander recommend db4o as a database,how about you advice?
what knowledges do you use in you web applicaton?
thanks!!



Filip S. Adamsen-2 wrote:
> 
> Hi there,
> 
> Welcome to the list. :)
> 
> Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
> current beta version is 5.0.11 with 5.0.12 available as snapshots.
> 
> As T5 was alpha when Alexander wrote the book, there have been quite a 
> few changes since then. You can see some of them at 
> http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.
> 
> If there's anything else that doesn't work I'd advise you to check out 
> the relevant docs at the website, and if that doesn't solve your 
> problem, send a mail to this list. We'll probably be able to tell you 
> what's going on.
> 
> Regarding T5 applications, I've had one site running since December 2, 
> 2007 and another site up since August, 2007.
> 
> -Filip
> 
> On 2008-05-20 17:27, mark lu wrote:
>> i am new to tapestry.
>> i just want to use t5 to build my application and i don't want to learn
>> the
>> inner technology of t5.
>> so,what's the stable version of t5?
>> i have read Alexander Kolesnikov's book--tapestry 5 build web
>> application,and know something about t5.
>> however,during my studying process,i encountered some problem even though
>> i
>> have followed the book.
>> so,i think it's the framework's bug,maybe.
>> so...who can help me?
>> 
>> another question:
>> whoever have built a application using t5 already?
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%27s-version--tp17343189p17354892.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5's version?

2008-05-20 Thread Filip S. Adamsen

Hi there,

Welcome to the list. :)

Alexander's book is based on Tapestry 5.0.7 or so, I believe. The 
current beta version is 5.0.11 with 5.0.12 available as snapshots.


As T5 was alpha when Alexander wrote the book, there have been quite a 
few changes since then. You can see some of them at 
http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html.


If there's anything else that doesn't work I'd advise you to check out 
the relevant docs at the website, and if that doesn't solve your 
problem, send a mail to this list. We'll probably be able to tell you 
what's going on.


Regarding T5 applications, I've had one site running since December 2, 
2007 and another site up since August, 2007.


-Filip

On 2008-05-20 17:27, mark lu wrote:

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even though i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




t5's version?

2008-05-20 Thread mark lu

i am new to tapestry.
i just want to use t5 to build my application and i don't want to learn the
inner technology of t5.
so,what's the stable version of t5?
i have read Alexander Kolesnikov's book--tapestry 5 build web
application,and know something about t5.
however,during my studying process,i encountered some problem even though i
have followed the book.
so,i think it's the framework's bug,maybe.
so...who can help me?

another question:
whoever have built a application using t5 already?
-- 
View this message in context: 
http://www.nabble.com/t5%27s-version--tp17343189p17343189.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]