Jsp & Servlets
CloudLabs
Projects
Assignment
24x7 Support
Lifetime Access
.
Course Overview
The JSP and Servlets training course teaches beginning and early intermediate Java developers how to build database-driven Web applications using JavaServer Pages and Java Servlets.
At the end of the training, participants will be able to:
- Design and build robust and maintainable web applications
- Create dynamic HTML content with Servlets and JavaServer Pages, using the JSP Standard Tag Library (JSTL)
- Make Servlets and JSP work together cleanly
- Use JSTL and other Custom Tag Libraries to separate Java and HTML code
- Access databases with JDBC
- Use Enterprise JavaBeans effectively from Servlets and JSP
Pre-requisite
All participants should be fluent in HTML and have a prior knowledge of object-oriented or object-based programming, as well as some knowledge of SQL and relational databases.
Duarion
5 days
Course Outline
- Java EE Overview
- Java EE Technologies
- Java EE Architecture
- MVC
- Web Application Basics
- – How the Web works, Thin Clients, TCP/IP
- – HTTP overview, Brief HTML review
- – Overview of Java EE, servlets & Web applications
- – Servlet Basics –
- Servlet API
- – HTML Forms
- – HTTP: Request-response, headers, GET, POST
- – Overview: How Servlets Work
- – tServlet Lifecycle: init(), service(), destroy()
- – ttRequests and responses
- – t
- – Core Servlet API: GenericServlet, ServletRequest, and ServletResponse
- – HTTP Servlets: HttpServletRequest, HttpServletResponse and HttpServlet
- – Accessing Parameters –
- Additional Servlet Capabilities
- – HTTP headers and MIME types
- – RequestDispatcher: Including and forwarding
- – Sharing data with the request object attributes
- – Sharing data with ServletContext attributes
- – Error Handling –
- JavaServer Pages
- – Basics and Overview
- – tJSP architecture
- – ttJSP tags and JSP expressions
- – ttFixed Template Data
- – ttLifecycle of a JSP
- – t
- – Model View Controller (MVC)
- – tModel 1/Model 2 Architecture
- – t
- – Data Sharing among servlets & JSP
- – tObject scopes or *buckets*
- – ttRequest, application, session and page scope
- – ttPredefined JSP implicit objects (request, session, application, page)
- – tt
- – tt,
- – tt, – t –
- Using Custom Tags
- – Custom tags overview
- – Reducing JSP complexity
- – Tag Libraries
- – tTag Library Descriptor (TLD)
- – ttLoading a tag library in a web app
- – t
- – The JSTL
- – JSP Expression Language (EL)
- – Using custom tags
- – tThe c:url, c:param, c:forEach, c:out tags – t –
- More JSP Capabilities and Session Management
- – HTTP as a stateless protocol
- – Hidden form fields
- – Cookies: Overview, API, Using cookies
- – Session overview: Cookies and session tracking
- – HttpSession
- – tPutting data into a session object
- – ttRetrieving data from a session object
- – t
- – Using session data in servlets and JSPs
- – Additional JSP Capabilities
- – tException handling and error pages
- – ttDirectives (page, include, others)
- – t
- – Import declarations
- – Multithreading considerations and data safety
- – tSingleThreadModel interface – t –
- Additional JSP Capabilities
- – JSP Directives
- – JSP Error Pages
- – JSP and Java
- – tDeclarations, Scriptlet overview, Scriptlet syntax – t –
- More JSTL
- – Overview of JSTL libraries
- – The JSTL Expression Language
- – tExpressions, Type Coercion, Operators, String concatenation, Implicit Objects
- – t
- – The Core JSTL Library
- – tGeneral Purpose: c:out, c:set, c:catch
- – ttConditional: c:if, c:choose
- – t
- – Overview of other capabilities –
- Additional Topics
- – Servlet Filter overview
- – tFiltering examples, lifecycle, & filter chains
- – ttFilter API, Modifying a request, Modifying a response
- – t
- – Struts Overview
- – tAdvanced MVC ??? Struts overview
- – ttCommand and State patterns
- – ttStruts View and Controller elements – t –
- Introduction
- Relational Database and JDBC Overview
- – Overview, Table Relationships, Web Based Data Access, JDBC Characteristics –
- JDBC Architecture, JDBC API Overview
- – DriverManager, JDBC Drivers
- – Naming databases with JDBC URLs –
- Connecting to a database
- – Connection interface, Establishing a connection –
- DataBaseMetaData
- Handling Database Exceptions
- Data Access
- – DAO ??? Data Access Objects, O-R Mapping, Value Objects
- – Processing Database Data
- – tExecuting statements, precompiled statements and stored procedures
- – ttProcessing ResultSets
- – ttDealing with None data
- – ttUpdating, inserting, retrieving data
- – ttControlling Transactions
- – t
- – JDBC Driver Types
- – DataSource
- – tJava EE and DataSource, Using JNDI
- – t
- – Connection Pooling
- – tOverview, Usage, Advantages – t –
- Advanced Topics
- – Other Database Access Technologies
- – tSQLJ, O-R Mapping Tools, JDO (Java Data Objects), EJB Entity Beans
- – t
- – Advanced JDBC Features
- – tBatch Updates, Scrollable Result Sets, Rowsets, User Defined Types, BLOBS, CLOBS – t –
- Database Integration
- – Web Architecture choices
- – Connecting servlets to a database via DataSource –
- EJB
- – Overview of EJB
- – High-level EJB architecture
- – Roles within EJB
- – Client view of a session bean
- – JNDI (Java Naming and Directory Interface)
- – Remote and Home Interfaces
- – Writing an EJB client
- –
- Other Technologies
- – XML and Web Services
- – JMS ??? Java Message Service –
- Labs
- – Accessing a database from a servlet
- – Accessing an EJB from a servlet –
Accordion Content
Accordion Content
Accordion Content
Accordion Content
Accordion Content
Reviews
"The corporate training provided by Greater Insights was truly exceptional. The trainers were highly knowledgeable and engaging, making the sessions both informative and enjoyable. I gained valuable insights and practical skills that I immediately applied in my work. I highly recommend Greater Insights for their professionalism and expertise."
Rahul NiraniaSamsung
"As a participant of the corporate training program organized by Greater Insights, I was thoroughly impressed with the level of customization they offered. They took the time to understand our specific needs and tailored the training accordingly. The trainers were fantastic, and the interactive sessions fostered an environment of active learning. I am grateful for the valuable knowledge and skills I acquired."
Bhawna TiwariSamsung
"I cannot express enough gratitude to Greater Insights for the outstanding corporate training they provided. The trainers were not only experts in their respective fields but also incredible communicators. They created a dynamic and collaborative learning environment, which allowed us to learn from one another. The training surpassed my expectations, and I would eagerly participate in any future programs they offer."
Ashutosh SinghSamsung
"Attending the corporate training sessions organized by Greater Insights was a game-changer for me. The trainers were not only experienced professionals but also inspiring mentors. They equipped me with practical tools and strategies that have significantly enhanced my productivity and efficiency at work. I wholeheartedly recommend Greater Insights to anyone looking to excel in their professional endeavors."
Somashekar MuniyappaInfogain
"The corporate training program offered by Greater Insights was an enlightening experience. The trainers had a deep understanding of the subject matter and were able to break down complex concepts into easily digestible information. The interactive activities and case studies made the training engaging and relevant to our day-to-day work challenges. This training has undoubtedly boosted my confidence and competence."
Amresh DiwanInfogain
"I had the privilege of participating in a corporate training program organized by Greater Insights, and I must say it was a transformative experience. The trainers' expertise and passion for their subjects were evident in every session. The training materials provided were comprehensive and well-structured, enabling us to grasp the content effectively. I am grateful for the valuable skills I acquired, which have greatly contributed to my professional growth."
Namratha BabuTorry Harris
"The corporate training sessions conducted by Greater Insights were simply outstanding. The trainers went above and beyond to ensure that we understood the concepts thoroughly. The interactive nature of the sessions encouraged active participation and enhanced our learning experience. I am truly grateful for the practical strategies and techniques I learned, which have had a positive impact on my work performance."
Rahul BhashyamTorry Harris
"Participating in the corporate training program organized by Greater Insights was an enlightening experience. The trainers were not only knowledgeable but also skilled at delivering the content in an engaging manner. The training materials were well-designed, and the real-life examples provided valuable insights. I am confident that the knowledge and skills I gained will significantly contribute to my professional growth."
Deepti JainTorry Harris
"I can confidently say that the corporate training provided by Greater Insights was top-notch. The trainers were highly experienced and had a knack for simplifying complex concepts. The training sessions were interactive and encouraged open discussions, which fostered a collaborative learning environment. The practical skills I acquired during the training have proven to be invaluable in my day-to-day work."
HARSHAL TRIVEDIL&T TS
"Greater Insights exceeded my expectations with their corporate training program. The trainers were not only experts in their fields but also exceptional communicators. They effortlessly connected with the participants and ensured everyone's active involvement. The training content was comprehensive and provided a solid foundation for professional growth. I am grateful for the opportunity to learn from such seasoned professionals."
Namrata PillayL&T TS
"The corporate training facilitated by Greater Insights was exceptional in every aspect. The trainers were engaging and created a positive and inclusive learning environment. The training materials were well-structured and easy to follow, making the learning process enjoyable. The practical exercises and case studies allowed me to apply the knowledge immediately, resulting in improved job performance. I highly recommend Greater Insights for their commitment to excellence."
Sandhya M SanuHoneywell
"I recently attended a corporate training program organized by Greater Insights, and I am incredibly impressed. The trainers were not only knowledgeable but also highly skilled at delivering the content in a relatable manner. The training sessions were interactive and encouraged open dialogue, which made the learning experience engaging and dynamic. The practical skills I gained have already made a significant impact on my professional growth."
Neha SahayHoneywell
"I had the privilege of participating in a corporate training program conducted by Greater Insights, and it was truly transformative. The trainers were passionate and dedicated professionals who took the time to address our individual needs. The training sessions were interactive and encouraged active participation, allowing us to learn from one another's experiences. I am grateful for the knowledge and skills I acquired, which have undoubtedly propelled my career forward."
Abishek KalliparambilAllianz
"The corporate training program offered by Greater Insights was a remarkable experience. The trainers had a wealth of knowledge and were adept at imparting it effectively. The training materials were comprehensive and provided valuable resources for further exploration. The interactive activities and practical exercises helped me internalize the concepts and apply them in real-world scenarios. This training has been instrumental in my professional development."
Kishor KumarITC Infotech
"I cannot thank Greater Insights enough for the incredible corporate training they provided. The trainers were not only subject matter experts but also skilled at creating a positive and inclusive learning environment. The training sessions were well-structured, and the trainers ensured that we understood the content thoroughly. I am grateful for the valuable insights and skills I gained, which have already made a noticeable difference in my professional life."
Anitha PrashanthIndegene
Previous
Next