f:convertDateTime tag in JSF

JSF-Thumbnail

Introduction f:convertDateTime is used for validating the date input. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF If the user enters any invlid input, it will throw the error message to the screen. Also it allows the user to specify the apttern of date format using the ‘pattern’ attribute. […]

h:outputFormat tag in JSF

JSF-Thumbnail

Introduction The outputFormat tag renders parameterized text and allows you to customize the appearance of this text using CSS styles. Parameterized text is compound text containing placeholder values to be replaced by actual values at rendering time. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF JSP File (index.jsp) JavaBean […]

f:convertNumber Tag in JSF

JSF-Thumbnail

What is the use? This tag is used to register the NumberConverter instance on the enclosing component. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF This class is responsible to convert String to java.util.Number object and vice-versa. JSP file JSF Bean faces-config.xml Description currencyCode : In this attribute ISO […]

Create EJB 3.0 project in NetBeans 6.1

java-ee-thumbnail

Introduction This article explains how to create EJB 3.0 project using NetBeans IDE 6.1. This article will not explain the details of EJB 3.0 but will give basic knowledge on how to create simple EJB 3.0 project using NetBeans 6.1 IDE. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and […]

How to initialize Map property in Managed Mean?

JSF-Thumbnail

Map property in Managed Mean JSF Managed Beans can initialize its Map properties in the faces-config.xml. There is a property in the faces-config.xml as map-entries. This can be used for initializing the values and can be accessed directly through the Managed Beans in any JSP pages. also read: Introduction to JSF JSF Interview Questions Request […]

Entity Beans in EJB(BMP)

java-ee-thumbnail

ENTITY BEAN WITHBEAN-MANAGED PERSISTENCE Thus far, we acquainted ourselves with Sessionbeans ( both stateless & stateful) and also CMP Entity bean. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 In this instalment, we take up the most difficult type, […]

Entity Beans in EJB(CMP)

java-ee-thumbnail

Entity beans are characterized by the following 3 features. They are 'Persistent'. ( they are stored inhard-disk) They are shared by many clients. They have ,'Primary key'. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 As already mentioned ,Entity […]

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: […]

What is Spring?

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)

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, […]