Getting Started with J2EE Architecture And Stack Overview<br />Mak’arandBhatamrekar<br />firstname.lastname@example.org<br />Passionate building Apps with Java and RIA GWT,Flex<br />careerInJava.com<br />
Agenda<br />In this session, we will see the <br />Web Basics<br />From Static Pages to Enterprise solutions<br />Why J2EE<br />Basic Webconcepts<br />Http Protocol <br />Overview of Design Patterns<br />J2EE Stack Overview like Spring MVC, EJB, Hibernate, Webservicesetc<br />Get Started<br />Assignments<br />careerInJava.com<br />
Webserver is an application running on a machine serving HTML pages.
Browsers communicate with Webserver using HTTP Protocol
HTTP Protocol, uses mostly GET and POST requests retrieve the Page.
Protocol is a set of Rules which two systems follow to communicate.
A request like http://www.google.com, finds its way to Server with its corresponding IP Address address lookup called DNS
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.</li></ul>careerInJava.com<br />
At First Websites were static HTML with JS and CSS<br /><ul><li>Web Servers are Apache WebServer
Switching Gears : Building Dynamics Web Solutions<br />Today websites are everyday part of our life<br />For paying bills, shopping, information and so on<br />Web solutions are Dynamic in Nature <br />The content varies as per context e.g your mail.<br />These web solutions need to support various client from browser to phones, tablets.<br />Need to be scalable, say support 1000’s of users.<br />J2EE is the one of main technologies is used to build such websites.<br />careerInJava.com<br />
Why Java J2EE<br />Open Source : 100 % free<br />Huge Community, lot of Jobs<br />Enterprise Language<br />Defacto Enterprise Lang<br />Production platform Linux : 100% free<br />SLA’s available<br />Lot of choices like Spring,Struts, JSF, Jboss Seam etc<br />Java is a Platform now, with Groovy,Scala,Jruby build around it<br />careerInJava.com<br />
Design Patterns<br />MVC is the base design pattern for all the J2EE frameworks<br />They are proven solutions to recurring problems. <br />Very essential for J2EE Developer<br />Need to remember the Problem and Proven solution for it<br />Assignment<br />Research on MVC, Singleton, Factory Design Patterns:<br /> Find the problem they solve and the Solution<br />careerInJava.com<br />
Dynamic Web Apps - MVC 1 / J2EE Spec<br />MVC1 Design Pattern <br />MVC 1 drawbacks<br />No clear separation<br />Controller can act as View and Model<br />HTTPServletRequest and HTTPServletResponse objects carry data back n forth<br />Servlet uses ServletContext.requestDispatcher to call the right JSP based on the success or failure outcome<br />careerInJava.com<br />
Next,Web Solutions with MVC2<br />Struts, Spring MVC and others<br />No Servlet to write , Struts gives ActionServlet, Spring gives DispatcherServlet<br />XML Configs direct the servlet for URL redirection e.g Struts-Config.xml.<br />XML Configs also do Localization,Validation,Interceptors,JavaBean conversion etc<br />careerInJava.com<br />
Now we have arch which supports difft clients <br />careerInJava.com<br />
We keep exchanging terms<br />careerInJava.com<br />
Lets Get Started , Softwares<br />Install the Softwares to get started<br />*Eclipse IDE : Eclipse is the defacto IDE (www.eclipse.org)<br />*Apache Tomcat : A light weight Application container to develop Web Applications<br />careerInJava.com<br />
Course RoadMap<br />careerInJava.com<br />We will start attacking from<br /><ul><li>UI End : HTML, Java Script
Methodlogies : Agilet, DesingPatters,Coding Techniques etc</li></li></ul><li>Assignments<br />Write a HTML Page <br />Write on notepad and run it on browser<br />Write Hello World HTML Page<br />Create Contact Us Form page <br />Need some help, check out this video on CSS-Tricks<br />http://css-tricks.com/video-screencasts/58-html-css-the-very-basics/<br />Find more info on HTTP protocol and status codes<br />Install Eclipse IDE for Java EE developers<br />careerInJava.com<br />
& A<br />careerInJava.com<br />Next Steps<br /><ul><li>CoreJava</li></ul>HandsOn Coding with Realworld Java Assignments<br />Thank You<br /><ul><li>What is Approach to learn?</li></ul>A) Recommended Steps <br /> say for Web Services<br />Cover the Concept part <br />Do a small proof of concept<br />Integrate it in a bigger <br />Project<br />4. Prepare from Interview point <br />Of view<br />