J2EE Getting started What is involved to be a J2EE Developer,
This presentation gives an overview of Technologies and Arch in General.
And shows where Spring,Struts,Hibernate,Webservices,MVC fit
1. Getting Started with J2EE Architecture And Stack Overview Mak’arandBhatamrekar mak@careerinjava.com Passionate building Apps with Java and RIA GWT,Flex careerInJava.com
2. Agenda In this session, we will see the Web Basics From Static Pages to Enterprise solutions Why J2EE Basic Webconcepts Http Protocol Overview of Design Patterns J2EE Stack Overview like Spring MVC, EJB, Hibernate, Webservicesetc Get Started Assignments careerInJava.com
3.
4. Webserver is an application running on a machine serving HTML pages.
7. Protocol is a set of Rules which two systems follow to communicate.
8. A request like http://www.google.com, finds its way to Server with its corresponding IP Address address lookup called DNS
9. Along with IP Address, we also need to know the Port no(its like room no), on which the webserver app is running. Default port is 80.careerInJava.com
16. Switching Gears : Building Dynamics Web Solutions Today websites are everyday part of our life For paying bills, shopping, information and so on Web solutions are Dynamic in Nature The content varies as per context e.g your mail. These web solutions need to support various client from browser to phones, tablets. Need to be scalable, say support 1000’s of users. J2EE is the one of main technologies is used to build such websites. careerInJava.com
17. Why Java J2EE Open Source : 100 % free Huge Community, lot of Jobs Enterprise Language Defacto Enterprise Lang Production platform Linux : 100% free SLA’s available Lot of choices like Spring,Struts, JSF, Jboss Seam etc Java is a Platform now, with Groovy,Scala,Jruby build around it careerInJava.com
18. Design Patterns MVC is the base design pattern for all the J2EE frameworks They are proven solutions to recurring problems. Very essential for J2EE Developer Need to remember the Problem and Proven solution for it Assignment Research on MVC, Singleton, Factory Design Patterns: Find the problem they solve and the Solution careerInJava.com
19. Dynamic Web Apps - MVC 1 / J2EE Spec MVC1 Design Pattern MVC 1 drawbacks No clear separation Controller can act as View and Model HTTPServletRequest and HTTPServletResponse objects carry data back n forth Servlet uses ServletContext.requestDispatcher to call the right JSP based on the success or failure outcome careerInJava.com
20. Next,Web Solutions with MVC2 Struts, Spring MVC and others No Servlet to write , Struts gives ActionServlet, Spring gives DispatcherServlet XML Configs direct the servlet for URL redirection e.g Struts-Config.xml. XML Configs also do Localization,Validation,Interceptors,JavaBean conversion etc careerInJava.com
21. Now we have arch which supports difft clients careerInJava.com
23. Lets Get Started , Softwares Install the Softwares to get started *Eclipse IDE : Eclipse is the defacto IDE (www.eclipse.org) *Apache Tomcat : A light weight Application container to develop Web Applications careerInJava.com