Why not using Velocity... ? I have been trying it with Jboss. You just have
to write simple servlet that select beans and give references to your pages.
With a good session bean design it's very simple.
I allows to create nice pages without embedding too much code in it and
editable with a simple html editor

Fran�ois

> I would never call anything that i can get away with NOT calling from a
> JSP directly. I always try to use a bean or a tag library to
> encapsulate that call.
> 
>sometimes scriptlets are necessary in a jsp, but in general they become
>maintenance nightmares :) If you have ever worked maintenance of a large
>system that does this you will know what i mean. Much better to
>encapsulate such things in one place and then only have to modify a few
>things to repair a bug (yes yes we all want to think we write great
>systems, and we do, but there are always bugs. I don't want to count the
>number of times I have had to modify a scriptlet because something
>changed somewhere else...)
> 
> al
> 
> ----- Original Message -----
> From: Devraj Mukherjee <[EMAIL PROTECTED]>
> To: JBoss List Serve <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 26, 2001 9:17 AM
> Subject: [JBoss-user] Suggested way of calling Session Beans from JSP
> 
> 
>> Just wondering if some of you can tell me what is the suggested way of
>> calling a session bean from a JSP file, should I call it directly or
>> use a intermediate javabean for it?
>>
>> Devraj
>>
>>
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to