1. Training Presentation in JAVA/J2EE
Submitted By:
Shubham Banshiwala
Submitted To:
Mr. Abhishek Tiwari
Head of Department
Electronics And Comm.
2. Introduction of LARA
TECHNOLOGIES
• Lara trained nearly 200 batches for divisive type of
aspirants that includes B.TECH, M.C.A, B.Sc, M.Sc,
M.B.A, B.A, M.A, Medical Science students and
Working Professionals in different fields.
• In every batch 90% of attendees getting
breakthrough in their life.
• Nearly 5000 students certified in various Oracle
certifications
6. Why Java is Necessary for a
Professional
• Java is the language which is used by most of the
organization widely not only in India all over the world.
• If a professional wants to place in a such organizations
like:
• Then it is must that the professional having a good
knowledge in java programming and related
frameworks.
7. What is definition of
java language?
• Java is a programming language class
based, object oriented that can run
on virtually any type of computer (is
‘platform and device independent').
• Developed in 1995 by James Gosling
of Sun Microsystems.
8. Contents of Java Language
• The package statement
• The import statement
• Comments
• Class declaration and definition
• Variables
• Methods
• Constructors
9. Brief Explanation of Java
Contents
The Package Statement :
All java classes are the part of package. A java class
explicitly defines in a package.
package com;
class A
{
}
Class Definition:
A class is a design used to specify behavior of an
object.
10. • Class Declaration:
The class declaration marks the start of a class. For
class declaration we are using keyword “class”.
• Variable:
The purpose of variables to store the state of an
object they are called instance variable or instance
attributes. They are used to implements the
properties of an object.
• Methods :
Methods are use to manipulate the instance
variables. It is used to implements the behavior of an
object.
11. Development Of Java Program
package default;
default class A
{
public static void main(String []args)
{
System.out.println(“Success”);
}
}
12. COMMANDS TO EXECUTE JAVA
PROGRAMM
• There are the two commands, which are use to
execute java program.
javac filename.java
java classname
• Javac is used to
create .class file.
• Java command is used
to run bytecodes in
console window.
13. Compiler
(java)
Java Virtual Machine (JVM)
Class Loader
Byte code Verifier
Interpreter
Just-in-time
compiler
Security Manager
Operating System
Network
or
File System
= security gateway
Class file
.class
How A Java Byte Code Executes
14. Java With Database
•Java is connected
different databases
to store the data.
•Whenever user is
login into the
particular system
whatever the
username and
password is
submitting are
already stored in the
database.
15. HOW TO DEVELOP LOGIN PAGE BY
JAVA
Java is the language which
is use to develop different
web applications.
In general java is the
language which is used for
most of the web applications
which requires database
connectivity.
Java is also interact with
database by
using the concepts of “JAVA
SCRIPT”.
16. Code To Develop Login Page
• <form action=“loginSuccess.html”>
Username:
<input type=‘text’ name=‘username’><br>
Password:
<input type=‘password’ name=‘password’><br>
<input type=‘submit’ value=‘submit’
onclick=‘return loginValidator()’>
</form>
<script>
function loginValidator(){
if (document.forms[0].username.value.length==0){
alert(“enter username”);
return false;
}
if (document.forms[0].password.value.length==0){
alert(“enter password”);
return false;
17. Platform independent concept
• Platform
independent
means "write once
run anywhere".
Java is called so
because it can run
on any machine
having the java
core independent
of the platform.
18. Certification for OCJP
Lara also
preparing the
Professionals for
the
Certification of
“Oracle
Certified Java
Programmer”
”.