Java Security Packages using JCA/JCE

java-ee-thumbnail

In this tutorial, the author explains the cryptography-related concepts and packages in JDK,with code examples.Many of the concepts and technical terms thus learnt will be useful in understanding the Cryptography API in MFCalso. There are three security-related packages in JDK1.4, as follows: JCA/JCE(Java Cryptography Architecture & JavaCryptography Extensions) JSSE( Java Secure-Sockets Extension). JAAS( Java Authentication &AuhorizationService) also read: […]

Java Messaging Service(JMS)

java-ee-thumbnail

Distributed Object Technologies like RMI, CORBA and DCOM areadvanced variants of RPC(Remote-Procedure-Call).EJB( SessionBeans % Entity Beans)is essentially built on the RMI-IIOP model,( a combination of RMI with CORBA style). All these systems are Synchronous in nature. (ie) the client invokes a method on the remote object and if for some reason , there isdelay in response from the server end, […]

JSTL and SQL-TAGS

java-ee-thumbnail

The Struts community has ordained that JSP should bestrictly a ‘view-technology’, in the Model-View-Controller Architecture. According to Struts philosophy, JSP should not deal with Data-Accesss and such data accessshould be done by ‘Model’ components only.( read ‘beans’). JSTL , however, provides for sql tags, inspired by ColdFusion! ( please see a very short tutorial on DB-Operations using ColdFusion’ available in this issue as a separate lesson. and compare JSTL […]

JSTL and XML-TAGS

java-ee-thumbnail

No one can have any second opinion about the elegance of xml tags in JSTL. If the readers have been following the earlier installments of this J2EE series of tutorials, they would have come across JAXP,DOM,SAX ,JDOM and such terms, and it mayhave been none too easy to learn. But the xml tags in JSTL , make XML […]

An Introduction to JSTL

java-ee-thumbnail

AsJ2EE programmers, we are familiar with Servlets , JSPand JavaBeans.Any JSP page should encapsulate the business logic in a bean and invoke it by using <jsp:useBean>tag.Till recently, a combination of Servlets, JSP and beans was the standard practice. But, the JCP realeased an API for enabling programmers to create custom tags and use them in their JSP pages. […]

Hibernate Vs EJB 3.0

java-ee-thumbnail

Originally published in DeveloperIQ magazine What is CMP and BMP in EJB? So, why is it that Entity beans alone were found wanting and the specification keeps on changing? Entity beans are of two types. CMP & BMP. CMP stands for Container-Managed Persistence and BMP stands for Bean-managed persistence. Theoretically, the EJB specification does not […]

Expression Language in JSP 2.0

java-ee-thumbnail

1)Introduction Expression Language was first introduced in JSTL 1.0 (JSP Standard Tag Library ). Before the introduction of JSTL, scriptlets were used to manipulate application data.JSTL introduced the concept of an expression language (EL) which simplified the page development by providing standerd tag libraries. These tag libraries provide support for common, structural tasks, such as: […]

J2EE Connector Architecture(JCA), An Introduction

java-ee-thumbnail

Introduction JCA, the J2EE Connector Architecture, is an initiative towards EAI, Enterprise Application Integration. It is a standardized architecture providing the J2EE Components to have plug and play access to heterogeneous EIS, Enterprise Information Systems. Examples of EIS are ERP (Enterprise Resource Planning), Transaction Processing Systems, Legacy Database Systems etc. In the following section we […]

Sample Application for Java Persistence API (JPA)

java-ee-thumbnail

This article is the last part of the article series Java Persistence API (JPA), the earlier articles are introduction to JPA and the query api in JPA. This article is only for explaining the sample program with concepts used in the previous articles. I would recommend reading the previous two articles before start analyzing this […]

The Query API in JPA (EJB 3.0)

java-ee-thumbnail

Introduction One of the disadvantage of locating the entity objects using the EntityManager.find() and EntityManager.getReference() methods is, we cannot specify any powerful search criteria for searching the entity objects. All we can provide is the primary key to request for a particular object. Another fact is the class name of entity must be known. The […]