Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JAVA: Struts| Spring| Hibernate| JSP| EJB| JSF| JWS| MAVEN
Rating: 4.4 out of 5(11 ratings)
2,177 students

JAVA: Struts| Spring| Hibernate| JSP| EJB| JSF| JWS| MAVEN

Java Frameworks with Struts, Spring, Hibernate, JSP, EJB, JSF, JWS, MAVEN, ANT, Intellij Idea, XML, SOAP, RESTful
Last updated 8/2024
English
English [Auto],

What you'll learn

  • Understanding the Java Struts Framework: Students will gain a foundational understanding of the Struts 2 framework, including its architecture, core concepts
  • Setting Up Development Environments: Learn how to set up development environments using Netbeans and Eclipse for Java Struts and Spring frameworks.
  • Building and Managing Web Applications: Acquire skills to build and manage web applications using Java Struts, including creating actions, interceptors.
  • Core Concepts of Java Spring Framework: Master the core concepts of the Spring framework, such as Inversion of Control (IoC), dependency injection, and Spring
  • Spring Bean Management: Understand the lifecycle of Spring beans, different scopes, and the use of annotations for configuration.
  • Developing an Online Shopping Application: Gain hands-on experience in developing an online shopping application using the Spring framework.
  • Database Integration: Learn to integrate databases with Spring, manage database connectivity, and perform CRUD operations.
  • Java Build Tools: Learn to use Java build tools such as MAVEN and ANT, understand their importance, and how to streamline the build processes using these tools
  • Working with Hibernate: Understand Hibernate architecture, setup, and various mapping strategies (Table-Per-Hierarchy, Table-Per-Concrete class.
  • Implementing Advanced Features: Develop advanced features in web applications, such as implementing actions and interceptors in Struts.

Course content

14 sections539 lectures72h 8m total length
  • Overview of Java Netbeans2:19

    Discover Apache NetBeans IDE 12.0 for creating Java, web, enterprise, and Maven projects, with built-in JDK and support for Gradle, Ant, HTML5, JavaScript, and PHP.

  • Quiz on Java Netbeans
  • Java Struts introduction10:53

    Explore Struts 2, an elegant framework for enterprise Java web applications. Learn the MVC flow with a login example using a JSP view, a servlet controller, and a model.

  • Java Struts introduction continued7:31

    Explore Struts 2 features, including Pojo forms and Pojo actions, Ajax support, and easy tag customization, to streamline MVC workflow and multi-view technology integration.

  • Apache tomcat installation7:19

    Explore Struts2 and integrate Eclipse with Apache Tomcat by downloading Tomcat 7, configuring it in Eclipse, starting the server, and verifying via localhost:8080.

  • Struts Architecture10:49

    Explore Struts2 architecture, including controllers, action proxy, action mapper, configuration manager, and action invocation, with interceptors, value stack, and action results.

  • Struts Architecture continued12:00

    Struts 2 maps each URL to a specific action, processes requests with interceptors, and transfers data to the view, choosing the appropriate JSP, HTML, or GSP render path.

  • Quiz on Struts Intro and Architecture
  • Practical example8:02

    Create a dynamic Struts 2 hello world by configuring a dynamic web project, adding required jars to lib, and displaying a greeting in a jsp via Struts tags.

  • Practical example continued5:48

    Continue the practical example by creating an index page and a greeting form, mapping with Struts via start.xml and web.xml, and setting up the classes folder and package com.struts.example.

  • Login example10:24

    Demonstrate a struts2 login example with hardcoded credentials abc and 123, implement a login action with an execute method, create gsp pages and struts configuration to show success or error.

  • Login example continued6:09

    See how the login action validates username and password in Struts, uses the execute method to return success or failure, and loads success.jsp or error.jsp via struts.xml.

  • Quiz on LOGIN
  • Creating an action part11:49

    Map each request path to an action class that contains the processing logic, such as login or register actions, with a no-argument execute method returning string or a result object.

  • Creating an interceptor8:57

    Learn how struts 2 interceptors run at pre- and post-processing to enable validation, exception handling, internationalization, and immediate results, with pluggable components configurable via xml.

  • Creating an interceptor continued7:34

    Create and configure a hello interceptor action in Struts, using built-in interceptors like params and timer, map to hello Struts JSP, and verify execution time.

  • Quiz on ACTION PART and INTERCEPTOR
  • Introduction to Value Stack and OGNL9:56

    Explore Struts2 value stack and OGNL, understand how model, action, and named objects are organized, and learn core operations like push, pop, and find value.

  • Value Stack and OGNL example10:38

    Learn how to implement a value stack and ognl example in struts, creating a hello value stack class, pushing a map into the stack, and rendering with jsp using s:property.

  • Value Stack and OGNL example continued6:03

    Learn to use the value stack with ognl in a struts app by configuring struts.xml and mapping the hello value stack action to a jsp.

  • Quiz on Value Stack and OGNL
  • File uploader example10:45

    Explore how to implement a Struts2 file uploader using the file upload interceptor to transfer a file from a temporary directory to a destination via an action and configuration.

  • File uploader example continued8:33

    Learn to implement a Struts2 file uploader: configure interceptors, define success and error results, build an index.jsp for file input, and handle uploaded files (demo.txt) in a demo folder.

  • Sending Emails8:15

    Develop an email sending utility in Java, configuring Gmail SMTP with SSL and authentication, creating an email sender action class, and implementing properties, session, and execute logic.

  • Send email using struts27:28

    Learn how to send email using Struts2 by authenticating with Google smtp server, creating a mail session, composing a message with from, to, subject, and text, then sending via transport.

  • Send email using struts2 continued10:58

    Implement Struts2 email sending by building index.jsp forms for subject and body, wiring an email sender action in Struts2, and authenticating with Gmail SMTP to deliver messages.

  • Login application using Database12:00

    Develop a Struts2 login application authenticating users against an Oracle database. Create a users table, configure a DSN, and validate credentials to display the user's name on success or error.

  • Login application using Database continued11:05

    Develop a Java web login using JDBC with prepared statements to verify credentials against an Oracle database, and configure Struts actions with JSPs for success and error responses.

  • Validations7:19

    Explain Struts two validations within the Struts core validation framework, performing rules before the action method executes, with a voter registration age check and a sample index.jsp using Struts tags.

  • Validations continued14:18

    Execute struts 2 validations by enforcing server-side checks before action execution, using the validation framework, add field error, and an employee form example with struts.xml mapping.

  • Struts 2 i18N9:24

    Learn how Struts2 localization uses resource bundles, interceptors, and tag libraries for internationalization, and create bundle_name_language_country.properties like en_US, es_ES to fetch keys such as global.name.

  • Struts 2 i18N continued7:28

    Learn how to implement internationalization in Struts 2 by using properties files for English, Spanish, and French, accessing localized text via getText and global keys in JSP pages.

  • Type conversion8:41

    Explore how http requests treat all data as strings and how Struts converts them to typed properties. See a hands-on example with environment and system classes and Struts mapping.

  • Annotations9:57

    Show how Struts2 annotations simplify validation using the required field validator and the range validator, with an annotated action handling a name and age form and a success page.

  • Exception Handling Part 16:47

    Learn how Struts2 handles uncaught exceptions with the default exception interceptor to redirect users to dedicated error pages for different exceptions, such as page not found or null pointer exceptions.

  • Exception Handling Part 27:23

    Learn to handle exceptions in Struts2 by creating a custom error page, configuring exception mappings in struts.xml, and applying global mappings to all actions.

  • Control Tags Theory with IF Else Example Part 16:32

    Learn how Struts2 control tags drive page flow, including if-else, iterator, merge, append, and generator tags, with practical s:iterator, s:merge, and s:generator usage.

  • Control Tags Theory with IF Else Example Part 29:19

    Demonstrate the Struts if-else control tag with a complete example, including an action class, and index.jsp, using s:if, s:else, and s:elseif for John or Mike.

  • Generator Tag8:21

    Explore how the Struts generator tag creates and iterates a dynamic list on the fly in a jsp, using s:generator with a separator and s:iterator.

  • Append Tag part 19:38

    Show how the append tag differs from merging by building employee and contractor lists in a Struts2 example, including a recruitment decider and a department comparator.

  • Append Tag part 25:47

    This lecture demonstrates how the Struts2 append tag combines two lists using s:append and s:iterator, with jsp and struts.xml updates to display the appended results.

  • Merge Tag Example10:25

    Master how the Struts2 merge tag combines two lists in a JSP, demonstrated with a merge action example and a contrast to appending.

  • Iterator Tag in Struts5:18

    Learn how to use the iterator tag in Struts to loop over a string list and display five items in a JSP page using s:iterator.

  • Data Tags5:02

    Explore struts 2 data tags to manipulate data on jsp pages, including action, include, bean, date, param, property, push, set, text, and url tags, with practical, step-by-step examples.

  • Date Tag5:56

    Learn how to implement a date tag in Struts by creating a date action with java.util.Date, exposing current date via getters, and rendering formats in date.jsp via struts.xml and index.jsp.

  • Text Tag Example7:45

    Discover how the Struts2 text tag renders internationalized messages from a resource bundle, using the action name for key lookups, with defaults and parameterization in a JSP demo.

  • URL Tag Example7:27

    Learn to create URLs with the Struts2 URL tag, pass parameters, and build dynamic links in JSP using s:url and parameter values.

  • Push and Set Tags Example8:40

    Explore how to use struts2 property, push, and set tags to manage values on the value stack, using environment and system classes in a jsp-based app.

  • Action Data Tag Example9:13

    Explore how the Struts2 action tag inserts results at a page location by toggling execute result between true and false, using action data tag and simple action with JSP outputs.

  • Simple UI Elements9:28

    Learn to build simple Struts2 UI elements in JSPs, including text fields, text area, password, hidden fields, attachment with accept types, and a form with action.

  • Group Tags Struts3:59

    Explore group ui tags in struts2 by implementing radio buttons and checkbox lists in a jsp, showing gender and teams inputs with s radio and s checkbox list.

  • Select Tag Example8:12

    Demonstrates building a struts2 select tag example in a jsp form, including user and office lists, option groups, combo boxes, and a double select for multiple occupations.

Requirements

  • Basic Java Knowledge: Students should have a fundamental understanding of Java programming concepts, including object-oriented principles, classes, and methods.
  • Experience with Java Development Tools: Familiarity with Java development tools like Eclipse or NetBeans is recommended, as the course will involve practical coding exercises in these environments.
  • Understanding of Web Technologies: A basic understanding of web technologies such as HTML, CSS, and JavaScript will be helpful for grasping the web application development aspects of the course.
  • Knowledge of SQL and Databases: Students should have a basic understanding of SQL and relational databases to effectively learn database integration and operations.
  • Familiarity with Basic Software Development Concepts: Understanding software development lifecycle concepts and version control systems like Git will be beneficial.
  • Understanding of MVC Architecture: Knowledge of the Model-View-Controller (MVC) architectural pattern will help students grasp the core concepts of the Struts and Spring frameworks.
  • Access to Development Environment: Students need access to a development environment with Java SDK, a compatible IDE (Eclipse/NetBeans), and necessary build tools (MAVEN/ANT).
  • Willingness to Learn and Practice: A proactive attitude towards learning new technologies and a willingness to engage in hands-on practice will enhance the learning experience.
  • Basic Understanding of Object-Relational Mapping (ORM): Familiarity with the concept of ORM will be helpful for understanding Hibernate’s role in managing database operations.
  • Preliminary Knowledge of Build Tools: Basic knowledge of Java build tools such as MAVEN and ANT can be useful but is not mandatory as some foundational aspects will be covered in the course.

Description

Introduction:

Dive into the world of Java frameworks with this comprehensive course designed to equip you with the knowledge and skills needed to build robust, scalable, and efficient applications. Whether you are a beginner or an experienced developer, this course will guide you through the intricacies of Java frameworks like Struts, Spring, Hibernate, and many more, ensuring you have a solid understanding and hands-on experience in using these powerful tools.

Section 1: Java Struts Framework

In this section, you will explore the Java Struts framework, starting with an overview of Java Netbeans and the basics of Struts 2. You'll learn how to set up Apache Tomcat, understand the Struts 2 architecture, and work on practical examples, including login functionality and file uploaders. This section also covers advanced topics such as creating actions, interceptors, and utilizing the Value Stack and OGNL.

Section 2: Java Spring

Spring is a cornerstone of modern Java development. This section introduces you to the Spring framework, covering essential concepts like Inversion of Control (IoC), dependency injection, and Spring AOP. Through detailed lectures and examples, you'll learn how to set up Spring in Eclipse, create Hello World applications, and work with Spring beans, scopes, and life cycle methods. Advanced topics include autowiring, annotations, and AOP (Aspect-Oriented Programming).

Section 3: Java Spring Case Study - Creating an Online Shopping App

Apply your Spring knowledge in a practical case study by developing an online shopping application. This section guides you through the entire development process, from setting up your J2EE framework to creating a registration and login system, implementing database connectivity, and ensuring seamless integration with the Spring framework. By the end of this section, you'll have a fully functional online shopping app.

Section 4: Java Build Tools - MAVEN and ANT

Learn about the essential Java build tools MAVEN and ANT in this section. Understand the importance of these tools in Java development, and get hands-on experience in implementing examples. This section also covers XML, Java web services, core Java concepts, servlet technology, and more. You'll gain the skills needed to streamline your build processes and manage dependencies efficiently.

Section 5: Java Hibernate

Hibernate is a powerful ORM (Object-Relational Mapping) tool. In this section, you'll get introduced to Hibernate architecture and learn how to set up and configure Hibernate for your projects. Through practical examples, you'll understand Hibernate mapping strategies (TPH, TPC, TPS), work with annotations, and manage database operations. This section ensures you can leverage Hibernate to handle complex data interactions in your applications.

Section 6: IntelliJ IDEA with Projects

Master the IntelliJ IDEA IDE in this section. From installation requirements to exploring its features and functionalities, you'll learn how to efficiently navigate and use IntelliJ IDEA for your Java projects. Topics include GIT integration, Maven projects, code inspections, debugging, database integration, and working with Groovy. This section will boost your productivity and streamline your development workflow.

Section 7: JavaServer Pages (JSP)

JavaServer Pages (JSP) is a technology used to create dynamic web content. This section covers the fundamentals of JSP, including scriptlets, declarations, expression tags, directives, MVC patterns, and exception handling. Through detailed examples, you'll learn how to create JSP applications, handle form data, and implement common web functionalities like registration and login systems.

Section 8: Enterprise JavaBeans (EJB) with Case Studies

EJB is a key component of enterprise-level Java applications. This section introduces you to the EJB environment, different types of session beans, message-driven beans, and more. Through case studies, you'll gain practical experience in implementing EJBs, deploying them, and understanding their role in enterprise applications.

Section 9: Java EE/J2EE - JavaServer Faces (JSF)

JavaServer Faces (JSF) is a powerful framework for building user interfaces for web applications. This section covers the JSF lifecycle, UI components, navigation, validation, error handling, and event handling. You'll also learn about Facelets, a templating system for JSF, and develop a sample JSF application to consolidate your learning.

Section 10: Java Web Services JWS Training

Web services are essential for building interconnected applications. This section introduces you to web services, focusing on Java XML, SOAP, and RESTful services. You'll learn how to create, deploy, and consume web services in Java, ensuring you can build applications that communicate seamlessly over the web.

Conclusion:

By the end of this course, you will have a comprehensive understanding of various Java frameworks and tools. You'll be equipped to build and manage robust Java applications, from simple web projects to complex enterprise solutions. This course provides a strong foundation and practical skills, making you a proficient Java developer ready to tackle real-world challenges.

Who this course is for:

  • Aspiring Java Developers: Individuals looking to deepen their Java programming skills and gain expertise in modern Java frameworks for building robust and scalable web applications.
  • Intermediate Java Programmers: Developers with a basic understanding of Java who want to advance their knowledge and practical skills in frameworks like Struts, Spring, and Hibernate.
  • Web Developers: Professionals interested in integrating Java-based technologies with web development to create dynamic, server-side web applications.
  • Software Engineers: Engineers seeking to broaden their skill set by learning advanced Java frameworks and tools used in enterprise application development.
  • Database Administrators: Individuals who want to understand how Java frameworks interact with databases and improve their knowledge of ORM tools like Hibernate.
  • Computer Science Students: Students who have completed foundational Java coursework and are looking to apply their knowledge in a more advanced, practical context.
  • IT Professionals: IT professionals aiming to transition into a Java development role or enhance their current Java development skills for career advancement.
  • Tech Enthusiasts: Technology enthusiasts who are passionate about learning new frameworks and tools in the Java ecosystem to stay current with industry trends.
  • Project Managers: Managers who want to gain a deeper understanding of the technologies their development teams are using to better manage projects and workflows.
  • Entrepreneurs: Start-up founders or entrepreneurs who are looking to develop Java-based applications and need a solid understanding of the frameworks and tools available.