KEMBAR78
Struts & hibernate ppt | PPTX
A PRESENTATION ON 
STRUTS & HIBERNATE 
PANKAJ KUMAR 
INSTITUTE OF TECHNOLOGY AND MANAGEMANT 
GWALIOR (MP)
About Company
Services Provided by Company 
 IT Consultancy and Project Development 
 Web Development Services with IT training as a strong Line of Business which 
includes Technologies like Microsoft , SUN Microsystems, Oracle Testing, IBM-Mainframe, 
Autodesk, Multimedia- Adobe.
Corporate Training 
 Brainwork is a pioneer in providing outstanding training in technical 
skills and soft skills. 
 Technical Corporate Training Portfolio: 
 Microsoft Technologies: MS Office, VC++, VB, SQL Server, SSRS, SSAR, 
SSIS, MOSS, ASP.Net, C#, 
 VB .Net, ADO .Net, etc. 
 Sun Technologies: Java, J2EE, JBOSS, Struts, EJB, JSF, AJAX, Springs, 
Hibernate, Weblogic, etc.
 Oracle Technologies: Oracle 9i, Oracle 10g, Oracle 11i, Oracle 
R12 Financial, etc. 
 Testing Tools: QTP, Load Runner, Quality Center, Selenium etc. 
 Tally: Tally 9 ERP, ACT and TFAP. 
 Open Source Technologies: Open Office, Linux, Apache, MySQL, 
PHP (LAMP), Python, Ruby on 
 Rails, Scala, Alfresco, etc. 
 Others: C, C++, Unix, Liferay, LINQ/EAE, Datawarehouse, 
Mainframe, CMMi, ITIL V3 Foundation 
 and expert etc.
 Soft Skill Corporate Training Portfolio:- 
 Communication 
 Leadership program 
 Managerial effectiveness 
 Quality Work Life 
 Corporate Etiquette 
 Team building 
 Assertive communication 
 Time and Task management 
 Presentation skills
Struts Agenda 
 Software Crises 
 What is Framework 
 Model1 & Model2 
 What is Struts? 
 Why we need it 
 Features of struts 
 Controller Elements & it’s Responsibilities 
 Model Elements & Responsibilities 
 View Elements & Responsibilities
Challenges Exist In Software 
Development & Software Crisis 
 Project must be developed Quickly. 
 Project must be in High-Quality. 
 Easy to maintain. 
 Easy to test. 
 Better separation of concerns.
What is Framework & It’s Advantages 
Framework:- 
 A software framework is a re-usable design for a software system (or 
subsystem). 
 A framework is pre-built assembly of components and we can extend it. 
Advantages:- 
 Provides a procedure for the development of Application. 
 Save developers time. 
 It also reduces software development & maintenance costs. 
 Provides low level services that developers can use to speedup developments. 
 Provides same approach for all developers for developing code & Consistency 
in software design.
Model1 & Model2 
Model1:- 
 In the Model 1 the JSP page is responsible for processing 
the incoming request & replying back to the client.
Disadvantages of Model 1 Architecture 
 It does not have separate controller. 
 This Architecture usually leads to a significant amount of 
java code embedded within the JSP page. 
 Time consuming. 
 Hard to extend:- It is better for small application not for 
large application. 
 Navigation control is Decentralized :- Every page contains 
the logic to determine the next page.
Model 2 Architecture 
 Model2 is based on the MVC(Model View Controller) design pattern. 
 Model:- Represents data & Business logic of the Application. 
 View:- Responsible to Display Data. It represent the presentation. 
 Controller:- Acts as an Interface between View & Model.
Model 2 Architecture Advantages & 
Disadvantages 
 Navigation control is Centralized:- Now only controller contains the 
logic to determine the next page. 
 Easy to maintain. 
 Easy to extend. 
 Easy to Test. 
 Better Separation of concerns. 
Disadvantages:- 
 We need to write the controller code self. If we change the controller 
code, we need to recompile the class file.
What is Struts ? & its Features 
 An Open source web Application framework based on J2EE & java 
which implements the MVC design pattern is called Struts. 
Features:- 
 Configurable MVC components. 
 POJO based action. 
 AJAX support. 
 Integration support. 
 Various Result types. 
 Various Tag support. 
 Theme & Template support.
Struts Framework Components 
 Controller Components:- Direct the Action 
 Model Components :- Access Data & System 
 View Components: What the user see
The Architecture & Basic flow of Struts 2
Basic Flow Description 
 User sends a request for the action. 
 Controller Invokes the Action Invocation. 
 Action Invocation invokes each interceptors and action. 
 A result is generated. 
 The result is sent back to the Action Invocation. 
 A HTTPServletResponse is generated. 
 Response is sent to the user.
References 
Tutorialspoint.com 
 Javatpoint.com
Struts & hibernate ppt

Struts & hibernate ppt

  • 1.
    A PRESENTATION ON STRUTS & HIBERNATE PANKAJ KUMAR INSTITUTE OF TECHNOLOGY AND MANAGEMANT GWALIOR (MP)
  • 2.
  • 3.
    Services Provided byCompany  IT Consultancy and Project Development  Web Development Services with IT training as a strong Line of Business which includes Technologies like Microsoft , SUN Microsystems, Oracle Testing, IBM-Mainframe, Autodesk, Multimedia- Adobe.
  • 4.
    Corporate Training Brainwork is a pioneer in providing outstanding training in technical skills and soft skills.  Technical Corporate Training Portfolio:  Microsoft Technologies: MS Office, VC++, VB, SQL Server, SSRS, SSAR, SSIS, MOSS, ASP.Net, C#,  VB .Net, ADO .Net, etc.  Sun Technologies: Java, J2EE, JBOSS, Struts, EJB, JSF, AJAX, Springs, Hibernate, Weblogic, etc.
  • 5.
     Oracle Technologies:Oracle 9i, Oracle 10g, Oracle 11i, Oracle R12 Financial, etc.  Testing Tools: QTP, Load Runner, Quality Center, Selenium etc.  Tally: Tally 9 ERP, ACT and TFAP.  Open Source Technologies: Open Office, Linux, Apache, MySQL, PHP (LAMP), Python, Ruby on  Rails, Scala, Alfresco, etc.  Others: C, C++, Unix, Liferay, LINQ/EAE, Datawarehouse, Mainframe, CMMi, ITIL V3 Foundation  and expert etc.
  • 6.
     Soft SkillCorporate Training Portfolio:-  Communication  Leadership program  Managerial effectiveness  Quality Work Life  Corporate Etiquette  Team building  Assertive communication  Time and Task management  Presentation skills
  • 7.
    Struts Agenda Software Crises  What is Framework  Model1 & Model2  What is Struts?  Why we need it  Features of struts  Controller Elements & it’s Responsibilities  Model Elements & Responsibilities  View Elements & Responsibilities
  • 8.
    Challenges Exist InSoftware Development & Software Crisis  Project must be developed Quickly.  Project must be in High-Quality.  Easy to maintain.  Easy to test.  Better separation of concerns.
  • 9.
    What is Framework& It’s Advantages Framework:-  A software framework is a re-usable design for a software system (or subsystem).  A framework is pre-built assembly of components and we can extend it. Advantages:-  Provides a procedure for the development of Application.  Save developers time.  It also reduces software development & maintenance costs.  Provides low level services that developers can use to speedup developments.  Provides same approach for all developers for developing code & Consistency in software design.
  • 10.
    Model1 & Model2 Model1:-  In the Model 1 the JSP page is responsible for processing the incoming request & replying back to the client.
  • 11.
    Disadvantages of Model1 Architecture  It does not have separate controller.  This Architecture usually leads to a significant amount of java code embedded within the JSP page.  Time consuming.  Hard to extend:- It is better for small application not for large application.  Navigation control is Decentralized :- Every page contains the logic to determine the next page.
  • 12.
    Model 2 Architecture  Model2 is based on the MVC(Model View Controller) design pattern.  Model:- Represents data & Business logic of the Application.  View:- Responsible to Display Data. It represent the presentation.  Controller:- Acts as an Interface between View & Model.
  • 13.
    Model 2 ArchitectureAdvantages & Disadvantages  Navigation control is Centralized:- Now only controller contains the logic to determine the next page.  Easy to maintain.  Easy to extend.  Easy to Test.  Better Separation of concerns. Disadvantages:-  We need to write the controller code self. If we change the controller code, we need to recompile the class file.
  • 14.
    What is Struts? & its Features  An Open source web Application framework based on J2EE & java which implements the MVC design pattern is called Struts. Features:-  Configurable MVC components.  POJO based action.  AJAX support.  Integration support.  Various Result types.  Various Tag support.  Theme & Template support.
  • 15.
    Struts Framework Components  Controller Components:- Direct the Action  Model Components :- Access Data & System  View Components: What the user see
  • 16.
    The Architecture &Basic flow of Struts 2
  • 17.
    Basic Flow Description  User sends a request for the action.  Controller Invokes the Action Invocation.  Action Invocation invokes each interceptors and action.  A result is generated.  The result is sent back to the Action Invocation.  A HTTPServletResponse is generated.  Response is sent to the user.
  • 18.