ENTITY BEAN WITHBEAN-MANAGED PERSISTENCE ========================================== Thus far, we acquainted ourselves with Sessionbeans ( both stateless & stateful) and also CMP Entity bean. In this instalment, we take up the most difficult type, (ie) Bean-Managed Persistent Entity bean.(BMP) —————————————————————— Example for Bean-Managed Entity Bean ==================================== We have to write the SQL code for Persistence ,ourselves, in [...]
Archive | May, 2008
Entity Beans in EJB(CMP)
May 25, 2008
Entity beans are characterized by the following 3 features. a)They are 'Persistent'. ( they are stored in hard-disk) b)They are shared by many clients. c)They have , 'Primary key'. As already mentioned ,Entity beans can be thought of as a record ( or row) in a table of a relational database. ( This is just [...]
Java Security Packages using JCA/JCE
May 23, 2008
In thistutorial, 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 arethree security-related packages in JDK1.4, as follows: i)JCA/JCE(Java Cryptography Architecture & JavaCryptography Extensions) ii)JSSE( Java Secure-Sockets Extension). iii)JAAS( Java Authentication & [...]
What is Spring?
May 22, 2008
Spring is grate framework for development of Enterprise grade applications. Spring is a light-weight framework for the development of enterprise-ready applications. Spring can be used to configure declarative transaction management, remote access to your logic using RMI or web services, mailing facilities and various options in persisting your data to a database. Spring framework can [...]
Java Messaging Service(JMS)
May 22, 2008
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 [...]
JSTL and SQL-TAGS
May 22, 2008
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 [...]
JSTL and XML-TAGS
May 22, 2008
No one canhave 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 , [...]
An Introduction to JSTL
May 22, 2008
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 [...]
Getting Started with Flex 2.0
May 22, 2008
Flex2is the latest RIA technolgy based on MXML and Flash.Originally from Macromedia, this software is now being provided by Adobe, as Adobe has recently acquired Macromedia. The Flex2 software was given in DeveloperIQ CD in August-2006. That edition carried a very interesting and informative interview withDave Gruberof Adobe by the editor Mr.Ramdas. Flex2 is being [...]
OpenCms 7 Development
May 21, 2008
Overview This book is a guide for developers interested in building websites using the OpenCms content management system. The book is intended for developers who are familiar with Java, JSP, and building web applications based on the Java J2EE framework. In this book, we will develop a website designed for a blog writer. In the [...]






May 25, 2008
0 Comments