|
 |
pro_java_server thread: Re: pro_java_server digest: October 10, 2000
Message #1 by "venkatesh rachapudi" <venkatrachapudi@l...> on Wed, 11 Oct 2000 17:39:00 +0530
|
|
---
hi
have seen your question , remember one simple thing
if you want to do more database transacations and validations ie. more processing go for servlets
if you want to do more html presentations go for jsps
so that you can avoid trouble of typing out.println statements
bye for now
regards
venki
On Wed, 11 Oct 2000 00:00:52
Java Server digest wrote:
>PRO_JAVA_SERVER Digest for Tuesday, October 10, 2000.
>
>1. pro-java server, j2ee edition
>2. Re: pro-java server, j2ee edition
>3. When to move logic from JSP JavaBean to EJB?
>4. Dividing Task b/w JSPs and Servlets
>5. Re: [Dividing Task b/w JSPs and Servlets]
>6. Re: [When to move logic from JSP JavaBean to EJB?]
>
>----------------------------------------------------------------------
>
>Subject: pro-java server, j2ee edition
>From: "kim" <lekim@b...>
>Date: Mon, 9 Oct 2000 19:59:50 +0100
>X-Message-Number: 1
>
>Does this forum also host the 2nd edition(j2ee) of the book or there will
>be another forum?
>
>----------------------------------------------------------------------
>
>Subject: Re: pro-java server, j2ee edition
>From: "Craig Berry" <craigb@w...>
>Date: Tue, 10 Oct 2000 10:42:22 +0100
>X-Message-Number: 2
>
>We'll see how it goes, there is the j2ee list we can use for that purpose
>if it gets too confusing.
>
>----------------------------------------------------------------------
>
>Subject: When to move logic from JSP JavaBean to EJB?
>From: "Gary Keeney" <gary.keeney.b@b...>
>Date: Tue, 10 Oct 2000 15:05:30 +0100
>X-Message-Number: 3
>
>What are the general rules for moving logic from a JSP JavaBean running on
>the Web Server to an EJB running on the EJB Server?
>
>I can see the value of EJB transaction management for Entity Beans, but it
>seems to me that Session Beans are more difficult to justify.
>
>
>----------------------------------------------------------------------
>
>Subject: Dividing Task b/w JSPs and Servlets
>From: Muhammad Affan Qureshi <muqureshi@s...>
>Date: Tue, 10 Oct 2000 15:59:23 +0500 (PKT)
>X-Message-Number: 4
>
>
>Hi all
>
>Can anyone explain to me how are we supposed to determine which work
>should be handled by the Servlets and which by the JSPs in an application
>where ou are supposed to use the both of them?
>
>Does any one of them has any advantages over the other?
>
>Thanks in advance.
>
>Affan
>
>
>
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [Dividing Task b/w JSPs and Servlets]
>From: Lakshmi Naryanan Shanmuga Sundaram <laknara@n...>
>Date: 10 Oct 00 08:42:17 PDT
>X-Message-Number: 5
>
>Hi,
>We should have all the User Interface part of a web page in JSP and the
>business logic part or the functionality part of web page in Servlets.
>Advantage of having user interface in JSP is that its easy to construct t
>he
>user interface in JSP when compared to Servlets where we have to use
>PrintWriter for everything to be put on screen. Plus we can have the java
> code
>where ever necessary in JSP thro Scriplets. JSP provides the easy feel of
> HTML
>and the power of Java where ever necessary. Also When ever U have to do s
>ome
>minor modification to servlets, it have to be recompiled everytime. Where
> as
>for minor changes in page(User Interface) can be done to JSP which is als
>o
>memory effiecient. Everyone pls correct me If I'm wrong.
>Regards
>Lakshmi Narayanan
>
>Muhammad Affan Qureshi <muqureshi@s...> wrote:
>
>Hi all
>
>Can anyone explain to me how are we supposed to determine which work
>should be handled by the Servlets and which by the JSPs in an application
>
>where ou are supposed to use the both of them?
>
>Does any one of them has any advantages over the other?
>
>Thanks in advance.
>
>Affan
>
>
>
>
>
>
>
>---
>To place your message here, or to sponsor this list, please e-mail
>mailto:p2pinfo@w...?subject=3DMediaPack, remembering to provide conta
>ct
>details for yourself. We will e-mail you a Media Pack within 24 hours.
>$subst('Email.Unsub')
>
>
>____________________________________________________________________
>Get your own FREE, personal Netscape WebMail account today at http://home
>=2Enetscape.com/webmail
>
>----------------------------------------------------------------------
>
>Subject: Re: [When to move logic from JSP JavaBean to EJB?]
>From: Lakshmi Naryanan Shanmuga Sundaram <laknara@n...>
>Date: 10 Oct 00 08:46:51 PDT
>X-Message-Number: 6
>
>In JSP, Java Bean represent the Business Logic and the JSP represents the
> User
>Interface. So Moving the Java Bean to Session Bean which is the bean
>representing Business logic in EJB makes sense to me. Entity Bean represe
>nts
>the Data. Correct me If I'm wrong.
>
>"Gary Keeney" <gary.keeney.b@b...> wrote:
>What are the general rules for moving logic from a JSP JavaBean running o
>n
>the Web Server to an EJB running on the EJB Server?
>
>I can see the value of EJB transaction management for Entity Beans, but i
>t
>seems to me that Session Beans are more difficult to justify.
>
>
>---
>To place your message here, or to sponsor this list, please e-mail
>mailto:p2pinfo@w...?subject=3DMediaPack, remembering to provide conta
>ct
>details for yourself. We will e-mail you a Media Pack within 24 hours.
>$subst('Email.Unsub')
>
>
>____________________________________________________________________
>Get your own FREE, personal Netscape WebMail account today at http://home
>=2Enetscape.com/webmail
>
>
>
>---
>
>END OF DIGEST
>
>---
>NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
>Visit EarthWeb for the latest in IT Management, Software Development,
>Web Development, Networking & Communications, and Hardware & Systems.
>Click on http://www.earthweb.com for FREE articles, tutorials,
>and discussions from the experts.
>
>
10% cash back on all your calls through 2000 at Lycos Communications at http://comm.lycos.com
|
|
 |