Getting Started with J2EE, A Roadmap

3,418 views

Published on

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

Published in: Education, Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,418
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
95
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Getting Started with J2EE, A Roadmap

  1. 1. Getting Started with J2EE Architecture And Stack Overview<br />Mak’arandBhatamrekar<br />mak@careerinjava.com<br />Passionate building Apps with Java and RIA GWT,Flex<br />careerInJava.com<br />
  2. 2. 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 />
  3. 3. Web Basics<br /><ul><li>Browsers only understand HTML along with JavaScript and CSS.
  4. 4. Webserver is an application running on a machine serving HTML pages.
  5. 5. Browsers communicate with Webserver using HTTP Protocol
  6. 6. HTTP Protocol, uses mostly GET and POST requests retrieve the Page.
  7. 7. Protocol is a set of Rules which two systems follow to communicate.
  8. 8. A request like http://www.google.com, finds its way to Server with its corresponding IP Address address lookup called DNS
  9. 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.</li></ul>careerInJava.com<br />
  10. 10. At First Websites were static HTML with JS and CSS<br /><ul><li>Web Servers are Apache WebServer
  11. 11. Every developer needs to know HTML basics
  12. 12. JavaScript is a scripting lang which runs at browser end. (It is very powerful now with Jquery, JSON and others)
  13. 13. CSS is used to Style the application by designers
  14. 14. HTML pages stored on webserver are requested by browser with HTTP protocol</li></ul>careerInJava.com<br />
  15. 15. HTTPProtocol Request Types/Verbs: Developer Essentials<br />careerInJava.com<br />
  16. 16. 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 />
  17. 17. 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 />
  18. 18. 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 />
  19. 19. 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 />
  20. 20. 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 />
  21. 21. Now we have arch which supports difft clients <br />careerInJava.com<br />
  22. 22. We keep exchanging terms<br />careerInJava.com<br />
  23. 23. 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 />
  24. 24. Course RoadMap<br />careerInJava.com<br />We will start attacking from<br /><ul><li>UI End : HTML, Java Script
  25. 25. Middeware : Java Technologies
  26. 26. BackEnd : SQL, JDBC, Hibernate
  27. 27. 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 />
  28. 28. & 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 />

×