Current Position:Home > WL vs. WL-express and JSP vs. javascript/SQL

WL vs. WL-express and JSP vs. javascript/SQL

Update:10-11Source: network consolidation
Advertisement
folks-
i am trying to convince a certain party to
disband a web-based job tracking system being
written in ASP, javascript, html, css and SQL.
it will be hosted on MS webserver running NT.
i am trying to convince them to use JSP and
WL express. i have done two years of EJB
component work on weblogic, however, i have not
done work with JSP or thin-clients. i was mostly
business-logic.
anyway i have some questions and need some
direction. i already know JSP is better than
ASP/javascript etc. because:
* ASP is proprietary. ditto for VBscript
* with an IDE creating JSP is easy and JSP
automatically creates servlets which is way
faster than by hand
* JSP is JAVA based and hence benefits from
all the portability pluses of JAVA
but here are the more difficult questions:
* why is WL express better than an MS
web server? (not including WL market share
and size. after all MS can claim that)
* since WL express does not have an EJB
container, how do you access the database?
via JDBC? does one just have JDBC code
floating around?
* since there is no EJB container how does
one separate presentation from logic from
data access? this is a major downside of
javascript, html, css and SQL etc.
* if a web app grows beyond JSP with WL express
into the need for an EJB container, i would
think that most of the app needs to re-written
as business-logic must be refactored into EJBs
and all JDBC code will be replaced by container
managed beans. this sounds a like a lot of
rework.
* isn't JSP slower than javascript as the
servlet and hmtl code is bounced back and
force across the network?
with respect to architecture, scalability,
and robustness what are the downsides to an
MS webserver and non-JSP coding?

The Best Answer

Advertisement
* since WL express does not have an EJB
container, how do you access the database?
via JDBC? does one just have JDBC code
floating around?
Use JDO or an OR-mapper or embed JDBC into your own data access classes.
* since there is no EJB container how does
one separate presentation from logic from
data access? this is a major downside of
javascript, html, css and SQL etc.
Presentation=JSP
Logic=Servlet
Data access=JDO or similar
* if a web app grows beyond JSP with WL express
into the need for an EJB container, i would
think that most of the app needs to re-written
as business-logic must be refactored into EJBs
and all JDBC code will be replaced by container
managed beans. this sounds a like a lot of
rework.
You should be able to tell up front if it a tx-intensive app that requires
WLS.
* isn't JSP slower than javascript as the
servlet and hmtl code is bounced back and
force across the network?
They aren't exclusive. For dynamic pages, use Javascript on the front end,
JSP on the back.
* with respect to architecture, scalability,
and robustness what are the downsides to an
MS webserver and non-JSP coding?
In the real world, and for most apps, while Java has the architectural edge,
they both have similar scalability and similar robustness. MS gives you no
choice though, and you rewrite every time they see a new buzzword. You can't
leave MS-land without abandoning almost everything. You can leave WLS in a
week if you have to.
It's an investment. Invest wisely.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"shane miller" <[email protected]> wrote in message
news:[email protected]
folks-
i am trying to convince a certain party to
disband a web-based job tracking system being
written in ASP, javascript, html, css and SQL.
it will be hosted on MS webserver running NT.
i am trying to convince them to use JSP and
WL express. i have done two years of EJB
component work on weblogic, however, i have not
done work with JSP or thin-clients. i was mostly
business-logic.
anyway i have some questions and need some
direction. i already know JSP is better than
ASP/javascript etc. because:
* ASP is proprietary. ditto for VBscript
* with an IDE creating JSP is easy and JSP
automatically creates servlets which is way
faster than by hand
* JSP is JAVA based and hence benefits from
all the portability pluses of JAVA
but here are the more difficult questions:
* why is WL express better than an MS
web server? (not including WL market share
and size. after all MS can claim that)
* since WL express does not have an EJB
container, how do you access the database?
via JDBC? does one just have JDBC code
floating around?
* since there is no EJB container how does
one separate presentation from logic from
data access? this is a major downside of
javascript, html, css and SQL etc.
* if a web app grows beyond JSP with WL express
into the need for an EJB container, i would
think that most of the app needs to re-written
as business-logic must be refactored into EJBs
and all JDBC code will be replaced by container
managed beans. this sounds a like a lot of
rework.
* isn't JSP slower than javascript as the
servlet and hmtl code is bounced back and
force across the network?
with respect to architecture, scalability,
and robustness what are the downsides to an
MS webserver and non-JSP coding?
  • WL vs. WL-express and JSP vs. javascript/SQL Update:10-11

    folks- i am trying to convince a certain party to disband a web-based job tracking system being written in ASP, javascript, html, css and SQL. it will be hosted on MS webserver running NT. i am trying to convince them to use JSP and WL express. i hav

  • Set jsp from javascript Update:11-30

    I have three "div" tags in index.jsp , <div id='header'></div> <div id='body'></div> <div id='footer'></div> Now when window is loaded i want other jsp page to be set in the "body" div tag of index.j

  • Jsp in javascript Update:11-30

    hi can we use jsp in javascript for eg: <script> if(flag) <% respone.sendRedirect("--"); %> </script> or is there any other way of doing this type of things this is only an example. thx -jayYou can use JavaScript in a JSP. Java

  • Regular expressions using jsp Update:11-30

    Hello Techies, I am having a text area inside a jsp file. When ever the end user gives input it must be submitted to the server. The real problem is when the end user gives special characters and double-quotes in this text area, jsp is preforming in

  • JSP language javascript Update:11-30

    What is the problem? <%@ page language="javascript" %> <% var i; for ( i=1; i<5; i++ ) out.println("JSP whit JavaScript <br>"); %>What is the problem? <%@ page language="javascript" %> <% var i;

  • Does Weblogic Express support JSPs Update:11-30

    Does Weblogic Express support JSPs?           Yep!!           Kumar           Bryan Boyer wrote:           >           > Does Weblogic Express support JSPs?           Read other 2 answers

  • How to pass values from JSTL to JSP or Javascript ? Update:10-11

    Hi All, Is it possible to share or use the variables which are declared are used by JSTL in JSP expression or scriplet code and in Java Script. Example: This Works: <fmt:set var="test" value="JSTL" /> <fmt:out value="${te

  • Using JSTL variables in JSP or Javascript. Possible ? Update:10-11

    Hi All, Is it possible to share or use the variables which are declared are used by JSTL in JSP expression or scriplet code and in Java Script. Example: This Works: <fmt:set var="test" value="JSTL" /> <fmt:out value="${te

  • How to access variables across JSP and JavaScript? Update:10-11

    Hi, I have some .js files and in those files, some of the methods need to access to the variables that I'd declare in the jsp files. How do I do it? AnneYou can do it this way, but I'm not sure if this is what you had in mind. Say you had a java vari

  • Problem in JSP with JavaScripts, which works perfectly in TOMCAT Update:10-11

    The peice of code below works without any problem in tomcat, which assign some values from a form named "frmOffice" which is in another jsp. In 9iAS it seems the values are not found. Also it says 'error on page'. What could be the reason. Pleas