Saturday, 26 November 2016

Java EE

  • It is built on Java SE platform
  • It provides an API and run environment for developing and running large-scale, multi-tiered, distributed, scalable, reliable, and secure network applications. 
    • JDBC
    • JNDI
    • EJB
    • RMI
    • JSP/Servlets 
      • Servlet is a simple java class which can take request in and can respond back with response. 
      • Jsp implictly converst to Servlet. However, it is easier to write dynamic html content in jsp rather than in Servlet 
    • JSF -> It is a web framework
    • JMS
    • JTS
    • JTA
    • JavaMail


Servlets
  • Servlet is a simple java class which can take request in and can respond back with response. 
  • HTTPServets are servlets which can take HTTP request as input and respond with HTTP response.
JSP
  • Expression Language ${name}
  • It is used to dynamically pick up content from Request, Session and other things. 
  • Scriplet
    • Any thing one writes within <%  %>
    • Any java code can be written in Scriplet
  • Scriplet Expression
    •  <%=    %>