You are on page 1of 21

ADVANCED JAVA

W h a t is Java?
History of Java?
Editions of Java?
Servlet
BASIC JSP
St ru t s
CONCEPTS MVC
Tiles
H ib ern at e
WHAT IS JAVA?
WHAT IS JAVA?

1.Java is a general - purpose p r o g r a m m i n g la n g u a g e a n d a c o m p u t i n g p l a t f o r m


for a p p l i c a t i o n d e v e l o p m e n t . i t is concurrent , class - based a n d object - oriented .

2.Java applications are c o m p i l e d t o b y t e code ( class file ) w h i c h c a n r u n o n any Java


virtual m a c h i n e ( JVM ).

3.You m u s t have basic k n o w l e d g e i n C p r o g r a m m i n g a n d C++ so t h a t you c a n


u n d e r s t a n d Java p r o g r a m m i n g quickly .

4.Java is o n e of t h e m o s t w i d e l y used p r o g r a m m i n g languages for client - server w e b


applications .
HISTORY OF JAVA?
History of JAVA?

1. Java was first d e v e l o p e d b y James Gosling a t Sun Microsystems i n t h e 1990s.

2.The originally n a m e d p r o g r a m m i n g la n g u a g e is OAK i n 1991 b u t as t h e n a m e is


already i n use i t is t h e n c h a n g e d a n d r e n a m e d as Java i n 1995.

3. The First n o n c o m m e r c i a l version is released i n 1994.

4. Java was first m a d e available for p u b l i c use i n 1996.

5 . H o t Java is t h e first Java - En a b le d W e b browser .


EDITIONS OF JAVA?
EDITIONS OF JAVA?
1. Java Standard Edition (J2SE)

- This Ed i t i o n is used for client - side standalon e applications .

2. Java Enterprise Edition (J2EE)

- This Ed i t i o n is used t o deve lo p server - side c lie n t applications such as Java servlets ,
Java Server Pages , a n d Java Server Faces .

3. Java Micro Edition (J2ME)

- This Ed i t i o n is used t o dev e lo p applications for m o b i l e devices like Smartphones ,


Tablets etc .
SERVLETS
What are SERVLETS ?
1.Java Servlet is a server - side p r o g r a m m i n g la n g u a g e w h i c h is used t o create
web applications ( dyn a mic w e b pages ).

2. Servlets r u n o n t h e Java - e n a b l e d w e b server or a p p l i c a t i o n server .

3. Servlets c a n r e s p o n d t o m a n y types of requests .

4. They c a n receive a n d h a n d l e requests f r o m w e b clients m a i n l y across HTTP.

5. These are c o m m o n l y used t o e x t e n d t h e applications t h a t are h o s t e d b y w e b servers .


JSP
(JAVA SERVER PAGE)
What is JSP ?

1. JSP standard was d e v e l o p e d b y Sun Microsystems i n 1991.

2. JSP is used t o separate t h e d y n a m i c p a r t of your pages f r o m t h e static HTML ..

3. It is a p l a t f o r m - i n d e p e n d e n t m e t h o d for b u i l d i n g w e b applications .

4.JSP Directives provides directions a n d instructions over t h e translation of


JSP i n t o a servlet .

5. JSPs c o n t a i n m i x e d d y n a m i c c o n te n t .

6.They are specifically t a r g e t e d a n d w e l l o p t i m i z e d t o r e n d e r a response .


STRUTS
What are Struts ?

1. Struts are based o n A p a c h e Technology .

2. Struts are Free o p e n source a n d i t was w i d e l y used i n c o m m u n i t y

3. These are Flexible , Extensible a n d s tru c tu re d Frameworks .

4. Struts are easy t o learn a n d handle .

5.Struts are used t o c o n t r o l t h e f l o w of W e b applications .


6.It is a n MVC (Model -view -controller) f r a m e w o r k for Java W e b
Applications .
MVC
(MODEL-VIEW-CONTROLLER)
What is MVC ?
1.MVC stands for Model - View - Controller . w h i c h is a design
pattern .

2. It splits t h e a p p l i c a t i o n i n t o 3 m o d u l e s
-Model
- View
- Controller

3. The p r o b l e m d o m a i n is represented b y t h e m o d e l .

4. The View represents t h e o u t p u t t o t h e users .

5. The Controller represents t h e i n p u t s f r o m t h e user .


TILES
What are Tiles ?

1. Tiles c a n b e used as includes i n order t o r e d u c e t h e d u p l i c a t i o n of c o m m o n p a g e


elements .

2 . We c a n develop a W e b p a g e b y using t h e Tiles Framework .

3. Tiles are individual visual c o m p o n e n t s .

4.Tiles are used t o a l l o w t h e authors t o d e fin e p a g e f r a g m e n t s w h i c h c a n b e


assembled i n t o a c o m p l e t e p a g e a t r u n t i m e .

5. Tile Layout defines t h e layout ( lo o k a n d feel ) of each tile i n a w e b page .


HIBERNATE
Hibernate ?
1 .H i b e r n a t e is a n o b j e c t - relational m a p p i n g ( ORM ) for Java.

2.It is a f r a m e w o r k t h a t is used t o simplify t h e d e v e l o p m e n t of Java a p p l i c a t i o n t o


in teract w i t h t h e database .

3. It is a l i g h t w e i g h t , o p e n - source a n d w i d e l y used f r a me wo r k .

4. It is used t o develop persistence logic .

5. It is used t o convert o b j e c t d a t a i n Java t o relational database tables .

6. It a u t o m a t i c a l l y generates SQL queries .


Contact :- (IND) +91 7672046498
THANK YOU (USA) +1 904-304-2519

For more Queries

Mail us at:- info@iqtrainings.com

iqonlinetraining.com

You might also like