Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Java for Recruiters


Published on

Published in: Technology, Education

Java for Recruiters

  1. 1. Java for recruiters By Soumya Vittalrao w w w . ph7 . i n
  2. 2. What is it? <ul><li>Java technology is a Programming language </li></ul><ul><li>Object oriented </li></ul><ul><li>Platform –Independent and Portable </li></ul><ul><li>Familiar, Simple and compact </li></ul><ul><li>Distributed </li></ul><ul><li>High performance </li></ul><ul><li>Multithreaded and Interactive </li></ul><ul><li>Robust , Dynamic and Secure </li></ul>
  3. 3. OOPS(Object Oriented Programming System) <ul><li>It’s an approach to program organization and development. </li></ul><ul><li>All languages are not suitable to implement OOPS </li></ul><ul><li>Languages that support OOPS are Smalltalk, C++, Ada, Pascal the latest one added to this list is Java which is a pure OOPS language. </li></ul><ul><li>The combination of data and method make up an object. </li></ul><ul><li>Object=Data+Method </li></ul><ul><li>Object=Data+Methods </li></ul>
  4. 4. Compiled and Interpreted <ul><li>Java compiler translate source code into byte code </li></ul><ul><li>Byte codes are not machine instructions </li></ul><ul><li>Java interpreter generates the machine code(Java Virtual Machine)which can be executed directly </li></ul>
  5. 5. Platform Independent and Portable <ul><li>Java programs can be moved from one computer system to another, anywhere and anytime, irrespective processor and system resources </li></ul><ul><li>Components </li></ul><ul><li>JVM </li></ul><ul><li>API </li></ul>
  6. 6. Java Environment <ul><li>Java environment includes large number of development tools and hundreds of classes(Building blocks of Java program, it can be in-built or user defined) </li></ul><ul><li>The development tools are part of system known as Java Development Kit(JDK) and the classes and methods are part of the Java Standard library(JSL) also known as API </li></ul>
  7. 7. JDK? <ul><li>Java Development kit is a collection of tools that are used for developing and running programs. </li></ul><ul><li>Appletviewer(for viewing Java applets) </li></ul><ul><li>Javac(Java compiler) </li></ul><ul><li>Java (java interpreter) </li></ul><ul><li>Javap (Java disassembler) </li></ul><ul><li>Javah (for C header files) </li></ul><ul><li>Javadoc (for creating HTML documents) </li></ul><ul><li>Jbd (Java debbuger) </li></ul><ul><li>1 JDK 1.0 (January 23, 1996) </li></ul><ul><li>2 JDK 1.1 (February 19, 1997) </li></ul><ul><li>3 J2SE 1.2 (December 8, 1998) </li></ul><ul><li>4 J2SE 1.3 (May 8, 2000) </li></ul><ul><li>5 J2SE 1.4 (February 6, 2002) </li></ul><ul><li>6 J2SE 5.0 (September 30, 2004) </li></ul><ul><li>7 Java SE 6 (December 11, 2006) </li></ul>Java Source code Javac Java Class files Jdb output Text Javadoc HTML JavaH
  8. 8. J2EE(Java 2 platform Enterprise Edition) <ul><li>J2ee is Platform-Independent </li></ul><ul><li>Java Centric environment from sun </li></ul><ul><li>Designed to develop & deploying web based applications </li></ul><ul><li>J2EE supports pure HTML, as well as Java applets or applications. </li></ul><ul><li>Enterprise JavaBeans (EJBs) provide another layer where the platform's logic is stored. </li></ul><ul><li>Java Database Connectivity (JDBC), which is the standard interface for Java databases. </li></ul><ul><li>The Java servlet API enhances consistency for developers without requiring a graphical user interface. </li></ul>
  9. 9. Servlet Technology <ul><li>Servlets are modules that extend request/response-oriented servers, such as Java-enabled web servers. </li></ul><ul><li>Servlets are to servers what applets are to browsers. Unlike applets, however, servlets have no graphical user interface. </li></ul><ul><li>Servlets can be embedded in many different servers Servlets have become most widely used within HTTP servers; many web servers support the Servlet API.   </li></ul>
  10. 10. Life Cycle of a Servlet   <ul><li>Loading and Inatantiation </li></ul><ul><li>Initialization </li></ul><ul><li>Servicing the Request </li></ul><ul><li>Destroying the Servlet </li></ul>
  11. 11. JSP(Java Server page) <ul><li>JavaServer Pages ( JSP ) is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML, or other document types </li></ul><ul><li>Architecturally, JSP may be viewed as a high-level abstraction of Java servlets. </li></ul><ul><li>Coverts the static page behind the scene </li></ul>
  12. 12. Compilation <ul><li>Frontend checks whether the program is correctly written in terms of the programming language syntax and semantics. Errors are reported, if any, in a useful way. </li></ul><ul><li>Middle-end is where the optimizations for performance take place. Middle-end generates IR for the following backend. </li></ul><ul><li>Backend is responsible for translation of IR into the target code which is executable </li></ul>
  13. 13. Frameworks in Java <ul><li>Spring </li></ul><ul><li>Hibernate </li></ul><ul><li>Struts </li></ul><ul><li>GWT </li></ul><ul><li>JSF </li></ul>
  14. 14. Spring Framework <ul><li>The core features of the Spring Framework can be used by any Java application. it has become popular in the Java community as an alternative to, replacement for, or even addition to the Enterprise JavaBean (EJB) model. </li></ul><ul><li>Spring includes: </li></ul><ul><li>The most complete lightweight container </li></ul><ul><li>A common abstraction layer for transaction management </li></ul><ul><li>A JDBC abstraction layer </li></ul><ul><li>Integration with Toplink, Hibernate, JDO, and iBATIS SQL Maps </li></ul><ul><li>A flexible MVC web application framework </li></ul>
  15. 15. Hibernate <ul><li>Hibernate is an object-relational mapping (ORM) library for the Java language. Hibernate solves object-relational impedance mismatch problems by Solution codes </li></ul><ul><li>Hibernate provides an SQL inspired language called Hibernate Query Language (HQL) which allows SQL-like queries to be written against Hibernate's data objects. </li></ul>
  16. 16. Struts <ul><li>The Struts Framework is a standard for developing well-architected Web applications. Based on the Model-View-Controller (MVC) design paradigm, it distinctly separates all three levels (Model, View, and Control). </li></ul><ul><li>Implements the JSP Model 2 Architecture </li></ul><ul><li>Stores application routing information and request mapping in a single core file, struts-config.xml </li></ul><ul><li>The Struts Framework, itself, only fills in the View and Controller layers. The Model layer is left to the developer </li></ul>
  17. 17. Java Server Faces(JSF) <ul><li>JavaServer Faces ( JSF ) is a Java-based Web application framework intended to simplify development integration of web-based user interfaces. </li></ul><ul><li>JSF is request-driven </li></ul>
  18. 18. GWT(Google web toolkit) <ul><li>Its an set of tools that allows web developers to create and maintain complex JavaScript front-end applications in Java. </li></ul><ul><li>The major GWT components include: </li></ul><ul><li>GWT Java-to-JavaScript Compiler </li></ul><ul><li>GWT Development Mode </li></ul><ul><li>GWT Web UI class library </li></ul>
  19. 19. The Java Database Connectivity (JDBC) <ul><li>JDBC,API is the industry standard for database-independent connectivity between the Java programming language and a wide range of databases </li></ul><ul><li>JDBC technology allows you to use the Java programming language to exploit &quot;Write Once, Run Anywhere&quot; capabilities for applications that require access to enterprise data. </li></ul>
  20. 20. Thank you