About Java EE: Difference between revisions
(→JAX-RS) |
(→JSF) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=JSF= | |||
Renders support multiple client types including mobile phone and desktop browsers. | |||
=MVC Architecture= | |||
* Servlets are used as controllers | |||
* JSP Pages are used as view components | |||
=API= | =API= | ||
==Applets== | |||
Applets have very tight restrictions and execute within a sandbox. They can actually use as many system resources as the operating system allows them. There is no reference to the amount of memory an appplet can use in the security.policy Hence. | |||
==Web Service== | ==Web Service== | ||
===JAX-WS=== | ===JAX-WS=== | ||
Line 28: | Line 37: | ||
SOAP with Attachments API for Java | SOAP with Attachments API for Java | ||
* More infos: https://docs.oracle.com/javaee/5/tutorial/doc/bnbhg.html | * More infos: https://docs.oracle.com/javaee/5/tutorial/doc/bnbhg.html | ||
=Know= | |||
* '''Non Repudation''': ensures that all actions, once performed, ca not be denied by the user or system itself | |||
* If the session attributes have implemented a special interface called HttpSessionActivationListener, they are definitely notified when Session moves from one JVM to another JVM. |
Latest revision as of 04:55, 29 September 2019
JSF
Renders support multiple client types including mobile phone and desktop browsers.
MVC Architecture
- Servlets are used as controllers
- JSP Pages are used as view components
API
Applets
Applets have very tight restrictions and execute within a sandbox. They can actually use as many system resources as the operating system allows them. There is no reference to the amount of memory an appplet can use in the security.policy Hence.
Web Service
JAX-WS
Used for developing webservices. This api is meant for SOAP based services As per Roy Fielding's theory, REST services should be stateless.
JAX-RS
used for developing web services. Meant for REST based services. In Restful Service implementation, the performance is high with caching options because of the stateless nature.
JPA
JAXP
XML
StaX
Streaming API for XML (StAX) This Java API is an event-driven, pull parsing API for reading and writing XML documents. This java API will enable you to create bidirectional XML parsers that are fasts, relatively easy to program and have a light memory footprint.
JAXB
Java Architecture for XML Binding
JAXP
Java API for XML Processing (JAXP)
SAAJ
SOAP with Attachments API for Java
Know
- Non Repudation: ensures that all actions, once performed, ca not be denied by the user or system itself
- If the session attributes have implemented a special interface called HttpSessionActivationListener, they are definitely notified when Session moves from one JVM to another JVM.