Re: [JBoss-user] Suggested way of calling Session Beans from JSP
No - Original Message - From: "Devraj Mukherjee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 4:06 AM Subject: Re: [JBoss-user] Suggested way of calling Session Beans from JSP > Hi > > Does one need to install the Turbine modules to run Velocity ?? > > Devraj > > At 19:32 26/06/01 -0400, you wrote: > >http://jakarta.apache.org/velocity/index.html > > > >-- Mike > > > ___ > 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
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
Hi Does one need to install the Turbine modules to run Velocity ?? Devraj At 19:32 26/06/01 -0400, you wrote: >http://jakarta.apache.org/velocity/index.html > >-- Mike ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
http://jakarta.apache.org/velocity/index.html -- Mike On 2001-06-27 at 09:18 +1000, Devraj Mukherjee wrote: > Tell me more ... can I find some documentation about Velocity somewhere ?? > > Devraj > > At 23:01 26/06/01 +0200, you wrote: > >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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
Tell me more ... can I find some documentation about Velocity somewhere ?? Devraj At 23:01 26/06/01 +0200, you wrote: >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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
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
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
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
RE: [JBoss-user] Suggested way of calling Session Beans from JSP
We use JSP tag libraries to hide the ugly code. Frank Thiemonge -Original Message- From: Tim Yates [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 9:09 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Suggested way of calling Session Beans from JSP I use an intermediate javabean... it seems to keep the jsp (which natuarlly tends towards chaos) cleaner... Tim. - Original Message - From: Devraj Mukherjee <[EMAIL PROTECTED]> To: JBoss List Serve <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 26, 2001 2:17 PM 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
Re: [JBoss-user] Suggested way of calling Session Beans from JSP
I use an intermediate javabean... it seems to keep the jsp (which natuarlly tends towards chaos) cleaner... Tim. - Original Message - From: Devraj Mukherjee <[EMAIL PROTECTED]> To: JBoss List Serve <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 26, 2001 2:17 PM 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] 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