You are on page 1of 17

from today class will be from 10.

30
AM to 7.00 or 7.15 PM.
1. introduce so called advanced
java story
2. XML DOM.
----------------------things which you need to focus is
1. oo implementation
thru ecclipse code prove you know
all oo concepts.
2. Exception handling
thru ecclipse prove you know all
exception hanlding concepts.
3. Datastructures.
thru ecclipse prove you know how
to use list and map.

so called advanced java.


JEE ( java enterprise edition)
web tier part of JEE ( 5/5)
struts
Web services

java enterprise edition.


this is java solution for solving
enterprise problems.
what is enterprise problems.
1. large number of users.
2. security needs.
3. storage needs.
4. transaction needs.
5. variety of clients.
6. legacy issues to deal with.
enterprise solutiosn are nothing
new , they have been used since
time in memorial ie 1950's
so what is special about java
enterprise solution.
answer is , java did two things.

1. they made enterprise application


as a standard.(they told companies
hey look you compete in terms of
how the feature is implemented
and not what the feature is)
2. they told the programmer, look
youfocus on simple things like
business logic, mulithreading,
storage maangemnt, security all
these things leave to me, in case
you dont like the way I am doing
things , we can configure it in
different ways you dont need to
code.
Enterprise applications are like a
transportation system.
bullock cart
cycle

bike
car
boat
ship
truck
lorry
...
in enterprise world
web component
distributed component
messaging component
transaction component
security component
legacy component
which one is good.

there are various components.


1. servlets/jsp -- these are web
based components in jee web
application.
2. ejb -- distributed heavy duty
business logic component.
3. JMS -- messaging component in
jee application ( post office)
4. JTA -- transaction compoennt
5. JCA -- Java Connector
Architecture , this is a component
which is used to connect legacy

applications.

1. client Server architecture


some logic will be on clinet
some logic will be on server.
some logic english,
Presentation -- prsent on client
Service -- it depends, but in case

of doubt present on server.


DAO -- present on server

2. web based architecture


things are http based or its
flavours.
everything is present on server.
1) things will be slow.
advantage.
if you cahnge something, you can
change at one place and clients
dont get impacted.

html,css and js are termed as


clinet side technologies in context
of web technology,
here when we say client side, we
are not referring it based on
whether it is located, rather we are
basing it on where it gets
interpreted.
http://www.abc.com/a.html
we type in the browser, what
happens.
1. request comes to abc web
server.
what is web server, servetr that
processes http based request.
2. web server locates a.html and
gives to teh client.

3. client interprets a.html.


hence html is a client side
technology.
-------a.php or a.jsp or a. 100 things like
this
these are called server side
technologies becuase.
http://www.abc.com/a.jsp
1. request comes to abc web
server
2. web server does not understand
what is a.jsp.
3. web server looks for additional
piece of software(plugin) which can

make it understand jsp.


4. if the additonal piece of software
is found, that software will process
a.jsp and output of th eprocesssing
is given to the web server.
5. web server now sends this
output to the client.
when to use server side when to
use client side.
use server side if server side
dependancy is there.
else use client side.
sometimes we prefer to do what
can be done on client side on
server side in web applciations.

web server + tonnes of plugins =


application server.
web server == apache http server.
Application server.
JBOSs
WEbSpehre
Tommy
Oracle Application SErver.
...
what all issues will you keep in
"mind" when you talk about web
application?
1. types of browsers which you
need to support.
2. user friendliness for a enemy
customer.

3. state management. ( Session or


Cookies)
information surviving over multiple
requests for a particular client .
4. role of duplicate submission and
back button problems.

Distributed computing invovles

1. networking
2. security issues.
Distributed computing is a complex
topic in CS, no matter how much
simple we try to make it.

3. distributed architecture.
freak point, english is free.

You might also like