Day 18,19 – Review Session and attending Java Interviews (Ratna Patel)

Built-in support for multi-threading, socket communication, and memory management (automatic garbage collection). • Object Oriented (OO). • Better portability than other languages across operating systems • Supports Web based (more…)

Day 17 – Collections – Lists, Sets (Ratna Patel)

ArrayList overview :  • Constant time positional access (it’s an array) • One tuning parameter, the initial capacity public ArrayList(int initialCapacity) { super(); if (initialCapacity < 0) throw new IllegalArgumentException( “Illegal Capacity: “+initialCapacity); this.elementData (more…)

Day 1 – Introduction to Java (JAVA-002 – Ratna Patel)

1.Introduction to Java 2.History of Java 3.Salient Features of Java 4. Setting up Environment for Java development 5.Object Oriented Programming Concepts What led to the evolution of electronic computation systems? More (more…)

Day 35 – Design Patterns — Pawan Trainer

  Servlet API – GenericServlet and HttpServlet Servlet LifeCycle Servlet Collaboration using response.sendRedirect() Forwarding and Including using RequestDispatcher Parameters and Attributes Session Tracking / Session Management Validation: Frontend & Backend. Used to compound (more…)

Day 34 – JDBC Best practices, Introduction to Design Patterns

What we covered till now in Servlet? Servlet API – GenericServlet and HttpServlet Servlet LifeCycle Servlet Collaboration using response.sendRedirect() Forwarding and Including using RequestDispatcher Parameters and Attributes Session Tracking / Session (more…)

Day 32 -Session Management using Cookies

javax.servlet.http.Cookieclass Creating a cookie: Cookie ck=new Cookie(“user”,“pawan“);//creating cookie object   response.addCookie(ck);//adding cookie in the response   Deleting a cookie Cookie ck=new Cookie(“user”,””);//deleting value of cookie   ck.setMaxAge(0);//changing the maximum age to 0 seconds   response.addCookie(ck);//adding cookie in the response Parameters may come into our application from the client request, or may be configured through deployment descriptor (web.xml) elements or their corresponding (more…)

Day 25 -Introduction to JEE, Servlets

Web Server and Application Server Enterprise Java – Multi-tier architecture What is a Servlet? How does a Servlet work? Life Cycle of a Servlet Basic Tomcat Setup What is a Servlet? How (more…)

Day 24 – JDBC Contd. & Introduction to Enterprise Java

Data Hierarchy JDBC – Java Database Connectivity JDBC Driver 5 Steps to connect to the database in java Working with Databases… Instruction. ResultSet interface JDBC – Java Database Connectivity JDBC Driver 5 Steps (more…)

Day 23 -JDBC

Examples of File IO & Introduction to JDBC Creating Directories Listing Directories How to read file in Java using BufferedReader Append content to File using PrintWriter Examples of File IO & Introduction (more…)

Day 21: Inner Classes

  Inner Classes Inner Classes (Non-static Nested Classes) Example: Accessing private members using Inner Class Anonymous Inner Class Inner Classes Inner Classes (Non-static Nested Classes) Example: Accessing private members using Inner Class Anonymous (more…)

Day 18,19 – Review Session and attending Java Interviews

Interview Tips How to prepare for a typical Java interview? Typical interview questions… Built-in support for multi-threading, socket communication, and memory management (automatic garbage collection).   How to prepare for (more…)

Day 16 – Collections – Sorting, Comparing basics

Agenda: Arrays/ArrayLists.. (and maybe, other collections) Search: Override equals() and hashCode(). Sort: provide comparison logic – Two ways Comparable interface Comparator interface Arrays/ArrayLists.. (and maybe, other collections) Search: Override equals() and hashCode(). Sort: (more…)

Java Training – Intro to Object Oriented Programming with Java

Agenda: Object Oriented Concepts Introduction to OO Analysis and Design Object Oriented Programming Why OO programming? What is OOAD? Why? Why Object-Oriented?   “The “software crises” came about when people realized the (more…)

Java Training: – Elements of Java programming (Continued..) Deep dive into Java programming

Conditional Statements if if-else if-else ladder switch-case Ternary operator Java IF Statement The Java if statement tests the condition. It executes the if block if condition is true. Syntax:

Java Training: – Elements of Java Language

Java Features: The most striking feature of the language is that it is a platform-neutral language. Java is a first programming language that is not tied (more…)

Java Training: – Introduction to Java

In the early 1990’s, putting intelligence into home appliances was thought to be the next “hot” technology. Examples of intelligent home appliances: Coffee pots and lights that (more…)

Java Boot-Camp Training: – Enterprise Java – Miscellaneous topics

What Are EJBs? Enterprise Java Beans EJB: special kind of JavaBean for performing server-side business logic More powerful version of the regular beans that we’ve used in class Three (more…)

Java Boot-Camp Training: – Spring MVC-Hibernate, AJAX

MVC… What is MVC pattern? Review… The Model encapsulates the application data and in general they will consist of POJO. The View is responsible for rendering the model (more…)

Java Boot-Camp Training: – Spring Aspect Oriented Programming(AOP)

What is Aspect Oriented Programming? Oriented Programming entails breaking down program logic into distinct parts called so-called concerns. The functions that span multiple points of an application (more…)

Java Boot-Camp Training: – Spring – Autowiring, Annotations, Java based configuration

Autowiring Beans The Spring container can autowire relationships between collaborating beans without using <constructor-arg> and <property> elements This helps cut down on the amount of XML configuration (more…)

Java Boot-Camp Training: – Spring – Inversion of Control, Dependency Injection and Bean definitions

Spring Framework Spring is the most popular application development framework for enterprise Java. Open source Java platform since 2003. Spring supports all major application servers and JEE standards. Spring (more…)

Java Boot-Camp Training: – Multithreading

An Overview of the Thread Methods Thread-related methods See API for more details (especially exceptions) Constructors Thread() – Creates a thread with an auto-numbered name of format Thread-1, Thread-2…  Thread( (more…)

Java Boot-Camp Training: – Struts Framework Overview

Struts Framework: The struts 2 framework is used to develop MVC-based web application. The struts framework was initially created by Craig McClanahan and donated to Apache Foundation (more…)

Java Boot-Camp Training: – i18n, Maven, Log4J

Internationalization (i18n): This means enabling a web site to provide different versions of content translated into the visitor’s language or nationality. Localization (l10n): This means adding resources to (more…)

Java Boot-Camp Training: – Hibernate

Hibernate Hibernate framework simplifies the development of java application to interact with the database. Hibernate is an open source, lightweight, ORM (Object Relational Mapping) tool. An ORM tool (more…)

Java Boot-Camp Training: – Servlets and JSP

JavaServer Pages Technology JavaServer Pages (JSP) technology provides a simplified, fast way to create web pages that display dynamically-generated content JSP Page A JSP page is a page (more…)

Java Boot-Camp Training: – Introduction to Enterprise Java

What is JEE? It is a public specification that embodies several technologies Current version is JEE 6 J2EE defines a model for developing multi-tier, web based, enterprise applications (more…)

Java Boot-Camp Training: – Day10: JDBC, IO, Serialization

Introduction Data stored in variables and arrays is temporary It’s lost when a local variable goes out of scope or when the program terminates For long-term retention of (more…)

Java Boot-Camp Training: – Collection continued, Inner Classes, Networking

Java Networking Java Networking is a concept of connecting two or more computing devices together so that we can share resources. Java socket programming provides facility to (more…)

Java Boot-Camp Training: – Day08: Object Class and Collections

Object class Superclass for all Java classes Any class without explicit extends clause is a direct subclass of Object Methods of Object include: String toString() boolean equals (Object other) int hashCode() Object (more…)

Java Boot-Camp Training: – Day07: Exception Handling

Exceptions… One of the powerful mechanism to handle the runtime errors so that normal flow of the application can be maintained. In java, exception is an event (more…)

Java Boot-Camp Training: – Day06: OOPs with Java Continued

Java Package A java package is a group of similar types of classes, interfaces and sub-packages. Package in java can be categorized in two form, built-in package (more…)

Java Boot-Camp Training: – Day05: Object Oriented Programming with Java

Object Oriented Programming •Software development methodology •Maps to real world objects •Graphics Car  Real Cal •Revolves around objects and classes •Object can communicate with each other •Software is divided into (more…)

Java Boot-Camp Training: – Day03: Arrays and Strings in Java

Arrays in Java. Making an array in a Java program involves three distinct steps: Declare the array name. Create the array. Initialize the array values. We refer to an array (more…)

Java / J2EE Training: Spring

Spring is a lightweight framework. It can be thought of as a framework of frameworks because it provides support to various frameworks such as Struts, (more…)

Java J2EE Training: Hibernate Basics

Hibernate is a high-performance Object/Relational persistence and query service which is licensed under the open source GNU Lesser General Public License (LGPL) and is free (more…)

JAVA/J2EE Interview Questions Part 2

Here you will find  the continuous of 50-100 Java interview questions . What’s being presented here are some commonly asked Java interview questions that cover a (more…)

JAVA/J2EE Training: JDBC

File processing Random access or sequential Only allow access to data Cannot query Database systems Mechanisms to organize and store data Allow sophisticated queries Relational database – most popular style Microsoft Access, Sybase, (more…)