You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Marco Pas <ma...@cmg.nl> on 2001/09/20 15:36:31 UTC

Velocity newbie

I am impressed by the ease of use of Velocity,
i was wondering how i could embed Velocity in an Servlet/EJB wise
environment.
 
I looked at Turbine for my framework. But this is to difficult to use.
(IMHO)
 
I want to transfer user-data in a session and do some JDBC work on my
database.
Can some suggest a good working software stack using Velocity.
 
Tia
-Marco

Re: Upcoming Velocity 1.2 Was: Velocity newbie

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/21/01 12:36 PM, "David Rees" <dr...@runt.ebetinc.com> wrote:

> On Fri, Sep 21, 2001 at 06:45:54AM -0400, Geir Magnusson Jr. wrote:
>>  
>>> BTW, how's the Velocity 1.2 release coming along?
>> 
>> Well, I was trying to let some time go by because of the recent introspector
>> change.  Things seem to work, no one is complaining, so if there are no
>> objections, I can roll it out this weekend, barring some other disaster...
> 
> How about a RC release to get a bit more visibility followed by a release a
> few days later?
> 
> I'll grab the latest nightly and give it a whirl today.
> 
> -Dave

Always an RC release....

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Upcoming Velocity 1.2 Was: Velocity newbie

Posted by David Rees <dr...@runt.ebetinc.com>.
On Fri, Sep 21, 2001 at 06:45:54AM -0400, Geir Magnusson Jr. wrote:
>  
> > BTW, how's the Velocity 1.2 release coming along?
> 
> Well, I was trying to let some time go by because of the recent introspector
> change.  Things seem to work, no one is complaining, so if there are no
> objections, I can roll it out this weekend, barring some other disaster...

How about a RC release to get a bit more visibility followed by a release a
few days later?

I'll grab the latest nightly and give it a whirl today.

-Dave

Re: Velocity newbie

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/21/01 12:25 AM, "David Rees" <dr...@runt.ebetinc.com> wrote:

> On Thu, Sep 20, 2001 at 09:45:03PM -0400, Geir Magnusson Jr. wrote:
>> 
>> P.S. How's that for dissent?
> 
> I dissent with your dissent!

This is going to get Monty Python-ish very quickly, I suspect... :)
 
> BTW, how's the Velocity 1.2 release coming along?

Well, I was trying to let some time go by because of the recent introspector
change.  Things seem to work, no one is complaining, so if there are no
objections, I can roll it out this weekend, barring some other disaster...

Geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Velocity newbie

Posted by David Rees <dr...@runt.ebetinc.com>.
On Thu, Sep 20, 2001 at 09:45:03PM -0400, Geir Magnusson Jr. wrote:
> 
> P.S. How's that for dissent?

I dissent with your dissent!

BTW, how's the Velocity 1.2 release coming along?

Cheers,
Dave

Re: Velocity newbie

Posted by Nick Bauman <ni...@cortexity.com>.
> Do user and dev lists exists for strife?  That's not why I am here.

Indeed, we're seeing far too much strife lately.

> geir
> 
> P.S. How's that for dissent?
> 
> -- 
> Geir Magnusson Jr.     geirm@optonline.net
> System and Software Consulting
> Developing for the web?  See http://jakarta.apache.org/velocity/
> If you look up, there are no limits - Japanese Proverb


-- 
WW-III chronology: http://znutar.cortexity.com/
Nick Bauman | Minneapolis, MN 55412
M: (612) 232-7120 |H: (612) 522-0165


Re: Velocity newbie

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/20/01 12:33 PM, "Lane Sharman" <la...@san.rr.com> wrote:

> 
> Interesting comment about turbine. Jon mentioned recently that he pulled
> some stuff out of his ass for its action handling implementation. I guess
> that's where the engineering smell comes from.  I just hope he doesn't
> take me too seriously here and that he can take it as well as give it :).
> (Lots of folks are so intimidated now that this list is becoming boring
> to read because dissent is now so infrequently posted).

Enough... This adds nothing, especially to a new user looking for clues.
Take it private or to the Turbine list.

Do user and dev lists exists for strife?  That's not why I am here.

geir

P.S. How's that for dissent?

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Velocity newbie

Posted by Lane Sharman <la...@san.rr.com>.
Marco,

I think that the separation of the skin from the model leads you to ask
should you separate the skin server from the model server? The answer is
yes but it becomes easy to fudge here. I've seen lots of Web Servers
where the entire kitchen sink resides as a stack on the web server.

So, my advice to you is to use rmi from a web server to talk to a model
server. rmi is really a snap to learn and it allows you to delegate model
processing to a model server.

Interesting comment about turbine. Jon mentioned recently that he pulled
some stuff out of his ass for its action handling implementation. I guess
that's where the engineering smell comes from.  I just hope he doesn't
take me too seriously here and that he can take it as well as give it :).
(Lots of folks are so intimidated now that this list is becoming boring
to read because dissent is now so infrequently posted).

In short, I'd keep the stack on the web server small: rmi client, http
stack, and an ejb client.

Run a model server behind the web farm. On it run your jdbc stack, ejb
server and an rmi server. If possible avoid introducing a jdbc client on
any http server as well. With a little work and thought, you can more
efficiently do this on a model server and cache results there
dramatically improving throughput.

-lane

Marco Pas wrote:

> I am impressed by the ease of use of Velocity,
> i was wondering how i could embed Velocity in an Servlet/EJB wise
> environment.
>
> I looked at Turbine for my framework. But this is to difficult to use.
> (IMHO)
>
> I want to transfer user-data in a session and do some JDBC work on my
> database.
> Can some suggest a good working software stack using Velocity.
>
> Tia
> -Marco

--
Lane Sharman
http://corporate.acctiva.com/lane