MVC, 2. MVC

Size: px
Start display at page:

Download "MVC, 2. MVC"

Transcription

1 1 2 2 MVC, 2 MVC

2 ( ) (access number) (PIN, personal identification number), [ 3-1]

3 3 (security realm) 27) login( ) [ 3-1] package comoreillystrutsbankingservice; import comoreillystrutsbankingviewuserview; /** * */ public interface IAuthentication { /** * login accessnumber pin DTO InvalidLoginException */ public UserView login(string accessnumber, String pin) throws InvalidLoginException; IAuthentication (accessnumber) (pin) login( ) comoreillystrutsbankingviewuserview, InvalidLoginException UserView UserView 27) : ) J2EE 13 ) API)

4 [ 3-2] comoreillystrutsbankingservicesecurityservice [ 3-1] IAuthentication SecurityService package comoreillystrutsbankingservice; import comoreillystrutsbankingviewuserview; /** * */ public class SecurityService implements IAuthentication { public UserView login( String accessnumber, String pin ) throws InvalidLoginException { // // 123/456 if( "123"equals(accessNumber) && "456"equals(pin) ) { /* UserView * / * */ UserView userview = new UserView( "John", "Doe" ); userviewsetid( "39017" ); return userview; else { // InvalidLoginException // String msg = "Invalid Login Attempt by " + accessnumber + ":" + pin; throw new InvalidLoginException( msg ); (accessnumber) 123, (pin) 456

5 3 ( ) [ 3-2] [ 3-3] [ 3-2] CHECKING

6 Transfer Logout MVC,, 1

7 3 300, 8 ( ) [ 3-4] MVC [ 3-4] (circular dependencies), Action, util

8 [ 3-1], action ActionForm, ActionMessages actions DispatchAction Action config taglib tiles upload util validator validator Validator commons a a : Commons( MVC JSP 2

9 3, (request) 28) [ 3-5] 1 orgapachestrutsactionactionservlet ActionServlet javaxservlethttphttpservlet, HTTP ActionServlet 11 ActionServlet 11 orgapachestrutsactionrequestprocessor ActionServlet RequestProcessor 28) : HttpRequest HttpRequest

10 (banking) ActionServlet RequestProcessor 5 ActionServlet 29) 4 (helper class) orgapachestrutsactionaction orgapachestrutsactionaction Action Action Action 1:1 Action,, 29) : webxml 23 webxml DTD

11 3 Action, Action Action Action, Action Action, Action ActionServlet Action Action, Action Action Action execute( ) execute( ) public ActionForward execute(actionmapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception; execute( ) Action Action Action Action [ 3-6] execute( )

12 execute( ) (null) Action execute( ) Action Login Logout GetAccountInformation GetAccountDetail Action Action execute( ) 5 Action Action Action Action, Action

13 3, Action Action, Action [ 3-3] comoreillystrutsbankingactionloginaction Action, package comoreillystrutsbankingaction; import javaxservlethttphttpservletrequest; import javaxservlethttphttpservletresponse; import javaxservlethttphttpsession; import orgapachestrutsactionaction; import orgapachestrutsactionactionmapping; import orgapachestrutsactionactionform; import orgapachestrutsactionactionforward; import comoreillystrutsbankingiconstants; import comoreillystrutsbankingserviceiauthentication; import comoreillystrutsbankingservicesecurityservice; import comoreillystrutsbankingserviceinvalidloginexception; import comoreillystrutsbankingviewuserview; import comoreillystrutsbankingformloginform; /** * LoginAction * ActionServlet ActionForm LoginForm * */ public class LoginAction extends Action { public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response ) throws Exception { // ActionForward ActionForward forward = null; UserView userview = null;

14 // LoginForm String accessnbr = ((LoginForm)form)getAccessNumber(); String pinnbr = ((LoginForm)form)getPinNumber(); /* * JNDI * */ IAuthentication service = new SecurityService(); // userview = servicelogin(accessnbr, pinnbr); // // HttpSession session = requestgetsession(false); if(session!= null) { sessioninvalidate(); // session = requestgetsession(true); // UserView forward sessionsetattribute( IConstantsUSER_VIEW_KEY, userview ); forward = mappingfindforward(iconstantssuccess_key ); return forward; [ 3-3] LoginAction execute( ) ActionForm

15 3 LoginAction SecurityService login( ) HttpSession login( ) UserView InvalidLoginException execute( ) InvalidLoginException try/catch 11 Action, <global-exceptions> <exception key="globalerrorinvalidlogin" path="/loginjsp" scope="request" type= "comoreillystrutsbankingserviceinvalidloginexception"/> </global-exceptions> InvalidLoginException loginjsp globalerror 10 Action (action mapping) Action XML (runtime) action orgapachestrutsactionactionmapping ActionMapping URI path ActionMapping 4

16 XML login <action path="/login" type="comoreillystrutsbankingactionloginaction" scope="request" name="loginform" validate="true" input="/loginjsp"> <forward name="success" path="/action/getaccountinformation" redirect="true"/> <forward name="failure" path="/loginjsp" redirect="true"/> </action> login /login comoreillystrutsbankingloginaction /login URI LoginAction execute( ) Action execute( ) 4 Action, Action execute( ) execute( ) orgapachestrutsactionactionforward ActionForward Action execute( ) JSP (action forward mapping) JSP ActionForward ActionFoward Action logout

17 3 <action path="/logout" type="comoreillystrutsbankingactionlogoutaction" scope="request"> <forward name="success" path="/loginjsp" redirect="true"/> </action> logout /loginjsp Success forward redirect true RequestDispatcher logout Success global-forwards global-forwards <global-forwards> <forward name="systemfailure" path="/systemerrorjsp" /> <forward name="sessiontimeout" path="/sessiontimeoutjsp" /> </global-forwards> global-sections forward name, path redirect redirect false (action forward) path Action 5 MVC (DTO, Data Transfer Object)

18 ( ) B2B 30), B2C (Value object) 30) DTO, DTO DTO, DTO (remote object) DTO DTO (locking) DTO DTO DTO DTO 2 2 JVM, 30) :

19 3 JSP DTO DTO [ 3-3] LoginAction Action Action LoginAction SecurityService SecurityService EJB JDBC LoginAction IAuthentication Action Action LoginAction login( ) comoreillystrutsbankingviewuserview UserView DTO [ 3-4] UserView package comoreillystrutsbankingview; import javautilset; import javautilhashset; /** * */ public class UserView implements javaioserializable { private String id; private String lastname;

20 private String firstname; // private Set permissions = null; public UserView(String first, String last) { this(first, last, new HashSet()); public UserView(String first, String last, Set userpermissions) { super(); firstname = first; lastname = last; permissions = userpermissions; public boolean containspermission(string permissionname) { return permissionscontains(permissionname); public String getlastname() { return lastname; public void setlastname(string name) { lastname = name; public String getfirstname() { return firstname; public void setfirstname(string name) { firstname = name; public String getid() { return id;

21 3 public void setid(string id) { thisid = id; UserView (foreign key) ( join) UserView RDB LDAP UserView JSP Action EJB, CORBA, MVC HTML JSP ActionForm

22 Action ActionForm (form bean) ActionForm ActionForm DTO ActionForm 1 ActionForm 2 ActionForm, action name 3 ActionForm 4 ActionForm 5 ActionForm action scope 6 ActionForm reset( ) 7 ActionForm setter ActionForm 8 validate true ActionForm validate( ) (form) HTML ActionForm HTML ActionForm ActionForm package comoreillystrutsbankingform; import javaxservlethttphttpservletrequest; import orgapachestrutsactionaction; import orgapachestrutsactionactionerror; import orgapachestrutsactionactionerrors; import orgapachestrutsactionactionform; import orgapachestrutsactionactionmapping;

23 3 import orgapachestrutsutilmessageresources; /** * ActionForm * accessnumber pinnumber * ActionServlet validate(), * */ public class LoginForm extends ActionForm { // private String pinnumber; // private String accessnumber; public LoginForm() { super(); resetfields(); /** * accessnumber pinnumber * */ public ActionErrors validate(actionmapping mapping, HttpServletRequest req ) { ActionErrors errors = new ActionErrors(); // // ActionForm MessageResources resources = (MessageResources)reqgetAttribute(ActionMESSAGES_KEY); // accessnumber if(accessnumber == null accessnumberlength() == 0) { String accessnumberlabel = resourcesgetmessage("labelaccessnumber"); ActionError newerror = new ActionError("globalerrorloginrequiredfield", accessnumberlabel); errorsadd(actionerrorsglobal_error, newerror);

24 // pinnumber if(pinnumber == null pinnumberlength() == 0) { String pinnumberlabel = resourcesgetmessage("labelpinnumber"); ActionError newerror = new ActionError("globalerrorloginrequiredfield", pinnumberlabel); errorsadd(actionerrorsglobal_error, newerror); //, ActionErrors return errors; /** * */ public void reset(actionmapping mapping, HttpServletRequest request) { // accessnumber pinnumber resetfields(); /** * */ protected void resetfields() { thisaccessnumber = ""; thispinnumber = ""; public void setaccessnumber(string nbr) { thisaccessnumber = nbr; public String getaccessnumber() { return thisaccessnumber; public String getpinnumber() { return thispinnumber;

25 3 public void setpinnumber(string nbr) { thispinnumber = nbr; ActionForm reset( ) validate( ) public void reset(actionmapping mapping, HttpServletRequest request); public ActionErrors validate(actionmapping mapping, HttpServletRequest request); ActionForm [ 3-5] LoginForm ActionForm ActionForm reset( ) ActionForm, ActionForm reset( ) Action resetfields( ) Action ActionForm ActionForm validate( ) ActionForm ActionForm, ActionForm 6, 7 [ 3-5] LoginForm validate( ) (PIN) execute( ) ActionForm Action ActionForm

26 ActionForm ActionForm ActionForm ActionForm form-beans ActionForm ActionForm <form-beans> <form-bean name="loginform" type="comoreillystrutsbankingformloginform"/> <form-bean name="accountinformationform" type="orgapachestrutsactiondynaactionform"> <form-property name="accounts" type="javautilarraylist"/> </form-bean> <form-bean name="accountdetailform" type="orgapachestrutsactiondynaactionform"> <form-property name="view" type="comoreillystrutsbankingviewaccountdetailview"/> </form-bean> </form-beans> name, type ActionForm form-beans form-bean action LoginAction

27 3 <action path="/login" type="comoreillystrutsbankingactionloginaction" scope="request" name="loginform" validate="true" input="/loginjsp"> <forward name="success" path="/action/getaccountinformation" redirect="true"/> <forward name="failure" path="/loginjsp" redirect="true"/> </action> LoginAction name form-beans name 11 form-beans 11 ActionForm ActionForm 11 orgapachestrutsactiondynaactionform DynaActionForm HTML Action Map DynaActionForm 7 ActionForm DTO ActionForm DTO ActionForm DTO, ActionForm DTO, DTO

28 HTML DTO 7 setter JSP, HTML, JSP JSP JSP JSP JSP ) ( JSP 20 JSP 31) JSP ( JSP 20 32) ) JSP JSP JSP XML/XSLT XSLT DTO 31) : JSP <%, %> 32) : JSTL (EL, Expression Language)

29 3 Nested, Tiles 6 HTML, Bean, Logic, Template,, HTML Logic webxml webxml 33) <web-app> <taglib> <taglib-uri>/web-inf/struts-htmltld</taglib-uri> <taglib-location>/web-inf/struts-htmltld</taglib-location> </taglib> <taglib> <taglib-uri>/web-inf/struts-logictld</taglib-uri> <taglib-location>/web-inf/struts-logictld</taglib-location> </taglib> </web-app> B JSP <%@ taglib uri="/web-inf/struts-htmltld" prefix="html" %> <%@ taglib uri="/web-inf/struts-logictld" prefix="logic" %> taglib JSP JAR [ 3-6] loginjsp 33) : webxml webxml DTD

30 taglib uri="/web-inf/struts-beantld" prefix="bean" %> taglib uri="/web-inf/struts-htmltld" prefix="html" %> <html:html> <head> <html:base/> <title><bean:message key="titlelogin"/></title> <link rel="stylesheet" href="stylesheets/login_style_iecss" type="text/css"> </head> <body topmargin="0" leftmargin="5" marginheight="0" marginwidth="0" bgcolor="#6699ff"> <html:form action="login" focus="accessnumber"> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#6699ff"> <tr><td> <html:img srckey="imagelogo" width="79" height="46" altkey="imagelogoalt" border="0"/> </td></tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td bgcolor="#000000"> <table border="0" cellpadding="0" cellspacing="0" width="1" height="2"> </table> </td></tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="1" height="1"> <tr><td></td></tr> </table> <table> <tr><td></td></tr>

31 3 </table> <table border="0" cellpadding="0" cellspacing="0" width="590"> <tr><td width="15" height="31"></td><td width="12"></td></tr> <tr> <td width="15"></td> <td width="575" bgcolor="#ffffff" colspan="2"> <table cellpadding="0" cellspacing="0" border="0" width="575" height="3"> <tr><td></td></tr> </table> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="590" bgcolor="#ffffff"> <tr> <td width="15" bgcolor="#6699ff"></td> <td width="15"></td> <td width="379"></td> <td width="15"></td> <td width="15"></td> <td width="15"></td> </tr> <tr> <td bgcolor="#6699ff" width="15"></td> <td></td> <td valign="top"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="fieldlabel"> <td><bean:message key="labelaccessnumber"/></td> </tr class="fieldlabel"> <tr> <td><html:text property="accessnumber" size="9" maxlength="9"/> </td> <td class="error"><html:errors/></td> </tr> <tr class="fieldlabel"><td height="10"></td></tr> <tr class="fieldlabel">

32 <td><bean:message key="labelpinnumber"/></td></tr> <tr class="fieldlabel"> <td><html:password property="pinnumber" size="4" maxlength="4"/></td> </tr> <tr><td height="10"></td></tr> <tr><td><html:submit styleclass="fieldlabel" value="login"/></td> </tr> <tr><td></td></tr> </table> </td> <td width="151" valign="top"> <html:img srckey="imagestrutspower" altkey="imagestrutspoweralt"/> </td> </tr> </table> file="include/footerjsp"%> <br> </html:form> </body> </html:html> [ 3-6] login HTML HTML JSP 8 JSP [ 3-6] JSP JSP

33 3, javautilresourcebundle orgapachestrutsutilmessageresources javautilresourcebundle JavaDoc 34) [ 3-7] # Labels labelaccessnumber=access Number labelpinnumber=pin Number labelaccounts=accounts labelbalance=balance labeltotalassets=total Assets labelaccount=account labelbalance=available Balance labeldescription=description labelamount=amount labeldeposits=deposits labelwithdrawls=withdrawls labelopeningbalance=opening Balance # Links linkcustomeragreement=customer Agreement linkprivacy=privacy linksecurity=security 34) :

34 linkviewaccountdetail=view Account Detail # Page Titles titlelogin=struts Online Banking - Account Login titleaccountinfo=struts Online Banking - Account Information titleaccountdetail=struts Online Banking - Account Detail # Button Labels labelbuttonlogin=login # Error messages globalerrorinvalidlogin=<li>invalid Access Number and/or Pin</li> globalerrorloginrequiredfield=<li>the {0 is required for login</li> # Images imagelogo=images/logogif imagelogoalt=struts Online Banking imagelogout=images/logoutgif imagelogoutalt=logout imagestrutspower=images/struts-powergif imagestrutspoweralt=powered By Struts imagetransfer=images/transfergif imagetransferalt="transfer Funds" imageclear=images/cleargif [ 3-6] loginjsp, loginjsp titlelogin JSP HTML title <title><bean:message key="titlelogin"/></title> orgapachestrutstaglibbeanmessagetag JSP [ 3-6] loginjsp message,

35 3, 11 (11 ),, 11 (webxml) struts-configxml 11 (Applications Module) 4, 5, 6, 7

36 ActionServlet RequestProcessor Action, Action ActionForm, DTO, JSP, MVC,

Struts interview questions

Struts interview questions Struts interview questions 1.What is MVC? Model-View-Controller (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data. Model : The model contains

More information

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA Struts P. O. Box 80049 Austin, TX 78708 Fax: +1 (801) 383-6152 information@middleware-company.com +1 (877) 866-JAVA Copyright 2002 Agenda In this presentation we will discuss: Struts Overview Where to

More information

The MVC Design Pattern & the Struts Framework

The MVC Design Pattern & the Struts Framework The MVC Design Pattern & the Struts Framework Separating Model (Data Access), Controller & View Development Best practice Known well before web items Smalltalk pioneered Model: Access to Underlying Databases

More information

The Struts MVC Design. Sample Content

The Struts MVC Design. Sample Content Struts Architecture The Struts MVC Design Sample Content The Struts t Framework Struts implements a MVC infrastructure on top of J2EE One Servlet acts as the Front Controller Base classes are provided

More information

Web Development with MyEclipse and JBoss

Web Development with MyEclipse and JBoss Web Development with MyEclipse and JBoss Part 3 J2EE Application Development with MyEclipse The WebStock Case Study The WebStoThe WebStock Case Study Study Module 1 By Karim Djaafar and Sebastian Hennebrueder

More information

View Controller Model

View Controller Model The MVC Design Pattern & the Struts Framework Separating Model (Data Access), Controller & View Development Best practice Known well before web items Smalltalk pioneered Model: Access to Underlying Databases

More information

Implementing the Model-View-Controler Design Pattern Using Struts

Implementing the Model-View-Controler Design Pattern Using Struts Implementing the Model-View-Controler Design Pattern Using Struts The MVC Design Pattern and its Struts Implementation What is the MVC Design Pattern? The MVC design pattern is the formalization of a Web

More information

Struts ( )

Struts ( ) Struts Struts Struts is an application framework, i. e. a reusable semicomplete application that can be used to produce custom applications. It is maintained by the Apache Jakarta project and it is freeware.

More information

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Welcome To PhillyJUG 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Web Development With The Struts API Tom Janofsky Outline Background

More information

Advanced Action Classes

Advanced Action Classes CH05 8/21/03 8:22 AM Page 91 5 Advanced Action Classes In this chapter, we dig further into the Controller components of the Struts framework by covering the built-in Action classes that come with Struts.

More information

Upon clicking Place Bid, the business logic of the web application uses a given

Upon clicking Place Bid, the business logic of the web application uses a given Consider an auction web application that provides a page like this and allows the user to bid on an item, specified by an item ID that the user somehow (we do not care how) obtained. Validate the ID is

More information

appendix A: Working with Struts

appendix A: Working with Struts appendix A: A1 A2 APPENDIX A From among the many Java-based web server frameworks available, we settled on a Struts/Hibernate/MySQL solution as our representative framework for developing enterprise-class

More information

Author: Sascha Wolski Sebastian Hennebrueder Tutorials for Struts, EJB, xdoclet and eclipse.

Author: Sascha Wolski Sebastian Hennebrueder   Tutorials for Struts, EJB, xdoclet and eclipse. Struts Nested Tags Since the version 1.1 of Struts, the tag library nested is included in Struts. In this tutorial we want to explain what are the features of the new nested tag library and show some little

More information

Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems ABSTRACT

Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems ABSTRACT Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems Sharad Acharya s.acharya@computer.org July 26, 2004 ABSTRACT Data driven presentation layer is one of the alternatives

More information

Struts-Based Application Architecture

Struts-Based Application Architecture CHAPTER 4 Struts-Based Application Architecture IN THIS CHAPTER: Struts as a Presentation Framework Struts Configuration Semantics Struts MVC Semantics Message Resources Semantics Summary References 89

More information

CSE 135. High Level Frameworks for Web Application and Ajax Programming: Applications as Action-Page loops

CSE 135. High Level Frameworks for Web Application and Ajax Programming: Applications as Action-Page loops CSE 135 High Level Frameworks for Web Application and Ajax Programming: Applications as Action-Page loops The problems of Model 1: Mixes management of app state with application visualization & interface

More information

Tiles: Creating a Highly Flexible, Dynamic Web Site

Tiles: Creating a Highly Flexible, Dynamic Web Site Hermod Opstvedt Chief Architect Den norske Bank Hermod Opstvedt Page 1 First there was just JSPs HTML and a lot of intermingled JavaScript. Then came custom tags. A lot less intermingled JavaScript. And

More information

JSF & Struts 1, 4, 7, 2, 5, 6, 3 2, 4, 3, 1, 6, 5, 7 1, 4, 2, 5, 6, 3, 7 1, 2, 4, 5, 6, 3, 7

JSF & Struts 1, 4, 7, 2, 5, 6, 3 2, 4, 3, 1, 6, 5, 7 1, 4, 2, 5, 6, 3, 7 1, 2, 4, 5, 6, 3, 7 1. Following are the steps required to create a RequestProcessor class specific to your web application. Which of the following indicates the correct sequence of the steps to achieve it? 1. Override the

More information

JDBC [Java DataBase Connectivity]

JDBC [Java DataBase Connectivity] JDBC [Java DataBase Connectivity] Introduction Almost all the web applications need to work with the data stored in the databases. JDBC is Java specification that allows the Java programs to access the

More information

Research of Structure Integration based on Struts and Hibernate

Research of Structure Integration based on Struts and Hibernate 2009 World Congress on Computer Science and Information Engineering Research of Structure Integration based on Struts and Hibernate Juanjuan Yan,Bo Chen,Xiu-e Gao,Le Wang Information Engineering College,Dalian

More information

Stripes Framework....in a comparison with Struts! Johannes Carlén

Stripes Framework....in a comparison with Struts! Johannes Carlén Stripes Framework...in a comparison with Struts! Johannes Carlén johannes.carlen@callistaenterprise.se www.callistaenterprise.se Let's talk about Struts for a minute... Pros De facto standard for a couple

More information

Struts: Struts 1.x. Introduction. Enterprise Application

Struts: Struts 1.x. Introduction. Enterprise Application Struts: Introduction Enterprise Application System logical layers a) Presentation layer b) Business processing layer c) Data Storage and access layer System Architecture a) 1-tier Architecture b) 2-tier

More information

Creating Web Application with BEA WebLogic Workshop. Jeff (Yefim) Zhuk

Creating Web Application with BEA WebLogic Workshop. Jeff (Yefim) Zhuk Creating Web Application with BEA WebLogic Workshop Jeff (Yefim) Zhuk author of the book Integration-Ready Architecture and Design by Cambridge University Press Software Engineering With XML, Java,.NET,

More information

Building Web Applications With The Struts Framework

Building Web Applications With The Struts Framework Building Web Applications With The Struts Framework ApacheCon 2003 Session TU23 11/18 17:00-18:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Slides: http://www.apache.org/~craigmcc/

More information

JavaEE Interview Prep

JavaEE Interview Prep Java Database Connectivity 1. What is a JDBC driver? A JDBC driver is a Java program / Java API which allows the Java application to establish connection with the database and perform the database related

More information

First steps in Struts using eclipse + MyEclipse. Table of Content. Create a struts project. Generals

First steps in Struts using eclipse + MyEclipse. Table of Content. Create a struts project. Generals First steps in Struts using eclipse + MyEclipse This tutorial will explain first steps using the web framework Apache Struts and the development environment eclipse. We will create a simple example library

More information

Ghent University Faculty of Engineering. Department of Electronics and Information Systems Head of the Department: Prof. Dr. Ir. Jan M.

Ghent University Faculty of Engineering. Department of Electronics and Information Systems Head of the Department: Prof. Dr. Ir. Jan M. Ghent University Faculty of Engineering Department of Electronics and Information Systems Head of the Department: Prof. Dr. Ir. Jan M. Van Campenhout Designing a Dynamic Development Environment for Web

More information

Java Advance Frameworks

Java Advance Frameworks Software Development & Education Center Java Advance Frameworks (Struts Hibernate Spring) STRUTS 2.0 Apache Struts is an open-source framework for creating Java web applications that use the MVC design

More information

Auftrag. Common-Controls Guided Tour FormTag s

Auftrag. Common-Controls Guided Tour FormTag s Auftrag Common-Controls Guided Tour FormTag s Version 1.0.5 - Last changed: 01. August 2004 Publisher: SCC Informationssysteme GmbH 64367 Mühltal (Germany) Tel: +49 (0) 6151 / 13 6 31 0 Internet www.scc-gmbh.com

More information

114. Jakarta Struts. Prerequisites. Version 1.1.3

114. Jakarta Struts. Prerequisites. Version 1.1.3 114. Jakarta Struts Version 1.1.3 This advanced course shows JSP and servlet programmers how to build "Model-2" Web applications using the Jakarta Struts project from Apache. Students learn the Struts

More information

CSE 135. Struts with AJAX Example. Students Database Example (with AJAX)

CSE 135. Struts with AJAX Example. Students Database Example (with AJAX) CSE 135 Struts with AJAX Example Students Database Example (with AJAX) 2 1 Struts Example (without AJAX) Students (hyperlink) menu.jsp showstudents.do students.jsp!validate insertstudent.do Insert StudentForm

More information

Struts Lab 3: Creating the View

Struts Lab 3: Creating the View Struts Lab 3: Creating the View In this lab, you will create a Web application that lets a company's fleet manager track fuel purchases for the company's vehicles. You will concentrate on creating the

More information

Common-Controls Quickstart

Common-Controls Quickstart Common-Controls Quickstart Version 1.1.0 - Stand: 20. November 2003 Published by: SCC Informationssysteme GmbH 64367 Mühltal Tel: +49 (0) 6151 / 13 6 31 0 Internet www.scc-gmbh.com Product Site http://www.common-controls.com

More information

Frameworks & Security

Frameworks & Security Frameworks & Security How web frameworks kill your static security scans AppSec Research 2010 Christian Hang Armorize Technologies chris@armorize.com Copyright The Foundation Permission is granted to copy,

More information

Srikanth Shenoy. Austin

Srikanth Shenoy. Austin Struts Survival Guide Basics to Best Practices Covers Struts 1.1 Srikanth Shenoy Austin 2 ObjectSource LLC books are available for bulk purchases for corporations and other organizations. The publisher

More information

Jakarta Struts. Pocket Reference. Chuck Cavaness and Brian Keeton. Beijing Boston Farnham Sebastopol Tokyo

Jakarta Struts. Pocket Reference. Chuck Cavaness and Brian Keeton. Beijing Boston Farnham Sebastopol Tokyo Jakarta Struts Pocket Reference Chuck Cavaness and Brian Keeton Beijing Boston Farnham Sebastopol Tokyo Jakarta Struts Pocket Reference by Chuck Cavaness and Brian Keeton Copyright 2003 O Reilly & Associates,

More information

Dynamic Struts Configuration Dipl.-Inf. Manfred Wolff January 2004

Dynamic Struts Configuration Dipl.-Inf. Manfred Wolff January 2004 Dynamic Struts Configuration Dipl.-Inf. Manfred Wolff mail@manfred-wolff.de January 2004 abstract In the current version struts 1.1 it is not possible to configure the framework "on the fly". But with

More information

User's Guide Visual Profile Appendix L Version 7.5.2

User's Guide Visual Profile Appendix L Version 7.5.2 User's Guide Visual Profile Appendix L Version 7.5.2 MobilityGuard AB Appendix L Visual Profile v 7.4 Table of Contents 1 Introduction...3 2 Configuration...3 2.1 Select a theme to use...3 2.2 The theme

More information

Common-Controls Guided Tour TabSetControl

Common-Controls Guided Tour TabSetControl Common-Controls Guided Tour TabSetControl Version 1.0.3 - Last changed: 01. August 2004 Herausgeber: SCC Informationssysteme GmbH 64367 Mühltal Tel: +49 (0) 6151 / 13 6 31 0 Internet www.scc-gmbh.com Product

More information

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started Application Development in JAVA Duration Lecture: Specialization x Hours Core Java (J2SE) & Advance Java (J2EE) Detailed Module Part I: Core Java (J2SE) Getting Started What is Java all about? Features

More information

Fast Track to Java EE 5 with Servlets, JSP & JDBC

Fast Track to Java EE 5 with Servlets, JSP & JDBC Duration: 5 days Description Java Enterprise Edition (Java EE 5) is a powerful platform for building web applications. The Java EE platform offers all the advantages of developing in Java plus a comprehensive

More information

Specialized - Mastering JEE 7 Web Application Development

Specialized - Mastering JEE 7 Web Application Development Specialized - Mastering JEE 7 Web Application Development Code: Lengt h: URL: TT5100- JEE7 5 days View Online Mastering JEE 7 Web Application Development is a five-day hands-on JEE / Java EE training course

More information

A Quick Introduction to Struts

A Quick Introduction to Struts A Quick Introduction to Struts Presented By DevelopIntelligence LLC A Quick Introduction to Struts What is Struts? Motivation for Struts Components of Struts Adopting Struts Working with Struts What is

More information

A.1 JSP A.2 JSP JSP JSP. MyDate.jsp page contenttype="text/html; charset=windows-31j" import="java.util.calendar" %>

A.1 JSP A.2 JSP JSP JSP. MyDate.jsp page contenttype=text/html; charset=windows-31j import=java.util.calendar %> A JSP A.1 JSP Servlet Java HTML JSP HTML Java ( HTML JSP ) JSP Servlet Servlet HTML JSP MyDate.jsp

More information

Building an Open Source J2EE Weblogger

Building an Open Source J2EE Weblogger Building an Open Source J2EE Weblogger David M. Johnson April 17, 2002 Originally published here: http://onjava.com/onjava/2002/04/17/wblogosj2ee.html As a Java developer, you should be aware of the tremendous

More information

Introduction to JSP and Servlets Training 5-days

Introduction to JSP and Servlets Training 5-days QWERTYUIOP{ Introduction to JSP and Servlets Training 5-days Introduction to JSP and Servlets training course develops skills in JavaServer Pages, or JSP, which is the standard means of authoring dynamic

More information

Migrating from Struts 1 to Struts 2

Migrating from Struts 1 to Struts 2 Migrating from Struts 1 to Struts 2 Matt Raible, Virtuas Open Source Solutions mraible@virtuas.com 2005-2006, Virtuas Open Source Solutions Introductions Your experience with Java? Your experience with

More information

Oracle WebLogic Server

Oracle WebLogic Server Oracle WebLogic Server Extending the Administration Console 10g Release 3 (10.3) July 2008 Oracle WebLogic Server Extending the Administration Console, 10g Release 3 (10.3) Copyright 2007, 2008, Oracle

More information

Server-side Web Programming

Server-side Web Programming Server-side Web Programming Lecture 20: The JSP Expression Language (EL) Advantages of EL EL has more elegant and compact syntax than standard JSP tags EL lets you access nested properties EL let you access

More information

Learning Jakarta Struts 1.2

Learning Jakarta Struts 1.2 Learning Jakarta Struts 1.2 A concise and practical tutorial Stephan Wiesner Chapter 4 " Internationalization and Taglibs" For more information: http://www.packtpub.com/struts/book In this package, you

More information

Chapter 2 How to structure a web application with the MVC pattern

Chapter 2 How to structure a web application with the MVC pattern Chapter 2 How to structure a web application with the MVC pattern Murach's Java Servlets/JSP (3rd Ed.), C2 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Knowledge 1. Describe the Model 1 pattern.

More information

Building Componentized Web Interfaces with Clay Instead of Tiles

Building Componentized Web Interfaces with Clay Instead of Tiles Interfaces with Clay Instead of Tiles Hermod Opstvedt Chief Architect DnB NOR ITU Hermod Opstvedt Page 1 A little history lesson Hermod Opstvedt Page 2 Struts Came about in June 2000. Introduced by Craig

More information

MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK

MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK Second Year MCA 2013-14 (Part-I) Faculties: Prof. V.V Shaga Prof. S.Samee Prof. A.P.Gosavi

More information

CHAPTER 3 FORM BEANS

CHAPTER 3 FORM BEANS CHAPTER 3 FORM BEANS OBJECTIVES After completing Form Beans, you will be able to: Describe the importance of action forms in handling user inputs and HTML form data in the Struts architecture: How form

More information

Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0

Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0 Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0 Jumpstart development, deployment, and debugging servlets and JSP A Borland White Paper By Sudhansu Pati, Systems Engineer

More information

This tutorial gives an overview of the different form classes available in Struts. It explains the features and differences.

This tutorial gives an overview of the different form classes available in Struts. It explains the features and differences. Overview of Struts Forms This tutorial gives an overview of the different form classes available in Struts. It explains the features and differences. General Autor: Sebastian Hennebrüder http://www.laliluna.de/tutorials.html

More information

Data Service Patterns Jeff Zhuk

Data Service Patterns Jeff Zhuk Data Service Patterns Jeff Zhuk From the book and beyond Integration-Ready Architecture and Design Cambridge University Press Software Engineering With XML, Java,.NET, Wireless, Speech and Knowledge Technologies

More information

Jakarta Struts: Declarative Exception Handling

Jakarta Struts: Declarative Exception Handling Jakarta Struts: Declarative Exception Handling Struts 1.2 Version Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet, JSP, Struts, JSF, and Java Training Courses: courses.coreservlets.com

More information

Summary: Learn how JSP and ASP.NET maintain a user's session state across pages, and the advantages of using ASP.NET over JSP.

Summary: Learn how JSP and ASP.NET maintain a user's session state across pages, and the advantages of using ASP.NET over JSP. Session Management Microsoft Corporation October 2003 Applies to Microsoft ASP.NET Microsoft Visual Studio.NET Java Server Pages Summary: Learn how JSP and ASP.NET maintain a user's session state across

More information

Java/J2EE Interview Questions(255 Questions)

Java/J2EE Interview Questions(255 Questions) Java/J2EE Interview Questions(255 Questions) We are providing the complete set of Java Interview Questions to the Java/J2EE Developers, which occurs frequently in the interview. Java:- 1)What is static

More information

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java COURSE DETAILS: CORE AND ADVANCE JAVA Core Java 1. Object Oriented Concept Object Oriented Programming & its Concepts Classes and Objects Aggregation and Composition Static and Dynamic Binding Abstract

More information

ADVANCED JAVA COURSE CURRICULUM

ADVANCED JAVA COURSE CURRICULUM ADVANCED JAVA COURSE CURRICULUM Index of Advanced Java Course Content : 1. Basics of Servlet 2. ServletRequest 3. Servlet Collaboration 4. ServletConfig 5. ServletContext 6. Attribute 7. Session Tracking

More information

Structure of a webapplication

Structure of a webapplication Structure of a webapplication Catalogue structure: / The root of a web application. This directory holds things that are directly available to the client. HTML-files, JSP s, style sheets etc The root is

More information

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

Course Content for Java J2EE

Course Content for Java J2EE CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History

More information

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session Kamnoetvidya Science Academy Object Oriented Programming using Java Ferdin Joe John Joseph Java Session Create the files as required in the below code and try using sessions in java servlets web.xml

More information

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes Java CORE JAVA Core Java Programing (Course Duration: 40 Hours) Introduction to Java What is Java? Why should we use Java? Java Platform Architecture Java Virtual Machine Java Runtime Environment A Simple

More information

Generate PDF File with Background Image in SAP Enterprise Portal Using JSPDynPage

Generate PDF File with Background Image in SAP Enterprise Portal Using JSPDynPage Generate PDF File with Background Image in SAP Enterprise Portal Using JSPDynPage Summary This article throws light on using JSP Dyne Page in Enterprise Portal. This article illustrates how to generate

More information

Application Development Tutorial

Application Development Tutorial KBQuest Group Compass Framework Application Development Tutorial Prepared by KBQuest October 12, 2005 Prepared by KBQuest 1 Revision History Revision Description Release Date Version 10 Initial Release

More information

Strecks Java 5 Extensions

Strecks Java 5 Extensions Strecks Java 5 Extensions Presented by Phil Zoio, Realsolve Solutions March 17, 2006 (1) Agenda Background and introduction The Details Form validation Data binding and conversion Actions Interceptors

More information

Fast Track to Java EE

Fast Track to Java EE Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This

More information

It might sound like a comic book superhero, but a

It might sound like a comic book superhero, but a DynaFormsDQGWKH9DOLGDWRU Content provided in partnership with Sams Publishing, from the book Struts Kick Start by James Turner and Kevin Bedell IN THIS CHAPTER It might sound like a comic book superhero,

More information

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

This course is intended for Java programmers who wish to write programs using many of the advanced Java features. COURSE DESCRIPTION: Advanced Java is a comprehensive study of many advanced Java topics. These include assertions, collection classes, searching and sorting, regular expressions, logging, bit manipulation,

More information

Index. NOTE: Boldface numbers indicate illustrations or code listing; t indicates a table. 281

Index. NOTE: Boldface numbers indicate illustrations or code listing; t indicates a table. 281 A ACLs, 7 Action Forwards, in Struts, 175 ActionEvents, 58 in Struts, 182 ActionForm, in Struts, 175-176, 179, 179 ActionForwards, in Struts, 176-177, 180 ActionListener interface, 57-62, 102 ActionEvents

More information

DVS WEB INFOTECH DEVELOPMENT TRAINING RESEARCH CENTER

DVS WEB INFOTECH DEVELOPMENT TRAINING RESEARCH CENTER DVS WEB INFOTECH DEVELOPMENT TRAINING RESEARCH CENTER J2EE CURRICULUM Mob : +91-9024222000 Mob : +91-8561925707 Email : info@dvswebinfotech.com Email : hr@dvswebinfotech.com 48, Sultan Nagar,Near Under

More information

Wiring Your Web Application with Open Source Java

Wiring Your Web Application with Open Source Java 1 of 13 5/16/2006 3:39 PM Published on ONJava.com (http://www.onjava.com/) http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html See this if you're having trouble printing code examples Wiring

More information

How to structure a web application with the MVC pattern

How to structure a web application with the MVC pattern Objectives Chapter 2 How to structure a web application with the MVC pattern Knowledge 1. Describe the Model 1 pattern. 2. Describe the Model 2 (MVC) pattern 3. Explain how the MVC pattern can improve

More information

Suppose that you re a programmer and your job is creating Web applications.

Suppose that you re a programmer and your job is creating Web applications. 04 559575 Ch01.qxd 3/2/04 3:54 PM Page 9 Chapter 1 Starting with the Basics In This Chapter Getting an overview of Jakarta Struts Creating the structure of a Web application Understanding the Model-View-Controller

More information

Advance Java. Configuring and Getting Servlet Init Parameters per servlet

Advance Java. Configuring and Getting Servlet Init Parameters per servlet Advance Java Understanding Servlets What are Servlet Components? Web Application Architecture Two tier, three tier and N-tier Arch. Client and Server side Components and their relation Introduction to

More information

DEZVOLTAREA APLICATIILOR WEB CURS 7. Lect. Univ. Dr. Mihai Stancu

DEZVOLTAREA APLICATIILOR WEB CURS 7. Lect. Univ. Dr. Mihai Stancu DEZVOLTAREA APLICATIILOR WEB CURS 7 Lect. Univ. Dr. Mihai Stancu S u p o r t d e c u r s suport (Beginning JSP, JSF and Tomcat) Capitolul 3 JSP Application Architectures DEZVOLTAREA APLICATIILOR WEB CURS

More information

XML and XSLT. XML and XSLT 10 February

XML and XSLT. XML and XSLT 10 February XML and XSLT XML (Extensible Markup Language) has the following features. Not used to generate layout but to describe data. Uses tags to describe different items just as HTML, No predefined tags, just

More information

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. Preface p. xiii Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. 11 Creating the Deployment Descriptor p. 14 Deploying Servlets

More information

software Learning Management System R1

software Learning Management System R1 software Learning Management System R1 Customization Guide June 2003 Disclaimer THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY

More information

Courses For Event Java Advanced Summer Training 2018

Courses For Event Java Advanced Summer Training 2018 Courses For Event Java Advanced Summer Training 2018 Java Fundamentals Oracle Java SE 8 Advanced Java Training Java Advanced Expert Edition Topics For Java Fundamentals Variables Data Types Operators Part

More information

Evaluation of Web Application Development Frameworks and Object-Relational Mappers: A Case Study

Evaluation of Web Application Development Frameworks and Object-Relational Mappers: A Case Study Evaluation of Web Application Development Frameworks and Object-Relational Mappers: A Case Study Student Project Submitted by: Sunay YALDIZ Matriculation Number 22480 16.02.2004 TECHNICAL UNIVERSITY HAMBURG-HARBURG

More information

1. What is This Guide about / Goals The Project JGuard Configuration... 11

1. What is This Guide about / Goals The Project JGuard Configuration... 11 Copyright 2005-2007 1. What is This Guide about / Goals... 1 2. The Project... 2 3. JGuard Configuration... 11 ii Chapter 1. What is This Guide about / Goals This guide is the result of the JGuard Team

More information

Sun Sun Certified Web Component Developer for J2EE 5 Version 4.0

Sun Sun Certified Web Component Developer for J2EE 5 Version 4.0 Sun Sun Certified Web Component Developer for J2EE 5 Version 4.0 QUESTION NO: 1 To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and CSS, your web application

More information

Unit 4. CRM - Web Marketing 4-1

Unit 4. CRM - Web Marketing 4-1 Unit 4. CRM - Web Marketing What This Unit Is About Identify/utilize the components of the framework to build and run Web Marketing solutions What You Should Be Able to Do After completing this unit, you

More information

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module Java Platform, Enterprise Edition 5 (Java EE 5) Core Java EE Java EE 5 Platform Overview Java EE Platform Distributed Multi tiered Applications Java EE Web & Business Components Java EE Containers services

More information

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming PSD1B Advance Java Programming Unit : I-V PSD1B- Advance Java Programming 1 UNIT I - SYLLABUS Servlets Client Vs Server Types of Servlets Life Cycle of Servlets Architecture Session Tracking Cookies JDBC

More information

1. Introduction. 2. Life Cycle Why JSP is preferred over Servlets? 2.1. Translation. Java Server Pages (JSP) THETOPPERSWAY.

1. Introduction. 2. Life Cycle Why JSP is preferred over Servlets? 2.1. Translation. Java Server Pages (JSP) THETOPPERSWAY. 1. Introduction Java Server Pages (JSP) THETOPPERSWAY.COM Java Server Pages (JSP) is used for creating dynamic web pages. Java code can be inserted in HTML pages by using JSP tags. The tags are used for

More information

Advanced Web Technology - Java Server Faces

Advanced Web Technology - Java Server Faces Berne University of Applied Sciences Advanced Web Technology - Java Server Faces Dr. E. Benoist Bibliography: Mastering Java Server Faces B.Dudney et al. - Wiley November 2005 1 Table of Contents Model

More information

CSE 510 Web Data Engineering

CSE 510 Web Data Engineering CSE 510 Web Data Engineering The Struts 2 Framework UB CSE 510 Web Data Engineering What s The Difference? A new framework that implements the MVC It is said to be simpler for development Features: Action:

More information

JSF. What is JSF (Java Server Faces)?

JSF. What is JSF (Java Server Faces)? JSF What is JSF (Java Server Faces)? It is application framework for creating Web-based user interfaces. It provides lifecycle management through a controller servlet and provides a rich component model

More information

Modernizing Java Server Pages By Transformation. S h a n n o n X u T h o m a s D e a n Q u e e n s U n i v e r s i t y

Modernizing Java Server Pages By Transformation. S h a n n o n X u T h o m a s D e a n Q u e e n s U n i v e r s i t y Modernizing Java Server Pages By Transformation S h a n n o n X u T h o m a s D e a n Q u e e n s U n i v e r s i t y Background CSER - Consortium for Software Engineering Research Dynamic Web Pages Multiple

More information

LTBP INDUSTRIAL TRAINING INSTITUTE

LTBP INDUSTRIAL TRAINING INSTITUTE Java SE Introduction to Java JDK JRE Discussion of Java features and OOPS Concepts Installation of Netbeans IDE Datatypes primitive data types non-primitive data types Variable declaration Operators Control

More information

What's New in the Servlet and JSP Specifications

What's New in the Servlet and JSP Specifications What's New in the Servlet and JSP Specifications Bryan Basham Sun Microsystems, Inc bryan.basham@sun.com Page 1 Topics Covered History Servlet Spec Changes JSP Spec Changes: General JSP Spec Changes: Expression

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 0 0 DEPARTMENT OF COMPUTERAPPLICATIONS QUESTION BANK V SEMESTER MC70- Web Application Development Regulation 0 Academic Year 07 8 Prepared by Mr.M.AsanNainar,

More information

JavaServer Pages. What is JavaServer Pages?

JavaServer Pages. What is JavaServer Pages? JavaServer Pages SWE 642, Fall 2008 Nick Duan What is JavaServer Pages? JSP is a server-side scripting language in Java for constructing dynamic web pages based on Java Servlet, specifically it contains

More information

J2EE Web Development 13/1/ Application Servers. Application Servers. Agenda. In the beginning, there was darkness and cold.

J2EE Web Development 13/1/ Application Servers. Application Servers. Agenda. In the beginning, there was darkness and cold. 1. Application Servers J2EE Web Development In the beginning, there was darkness and cold. Then, mainframe terminals terminals Centralized, non-distributed Agenda Application servers What is J2EE? Main

More information