Transaction represents a group of activities that must be performed as a single work unit. This clarifies that a transaction is complete if and only if all the work items within a work group results in success. If any of the work items fails, then the transaction as a whole will be treated as a …
Runtime.addShutdownHook()
Preface Every Java Program can attach a shutdown hook to JVM, i.e. piece of instructions that JVM should execute before going down. also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials Problem A program may require to execute some pieces of instructions when application goes down. An application may go …
Integrating Spring Web Flow with JSF
Spring Web Flow is a framework that provides abilities to developers to capture the workflow of a web application in the form of configurational constructs called Flows. JSF is a UI framework that provides support for developing complex user interface components along with simplified page navigation rules and event handling. In this article we will …
Spring Framework FORM Tags
Spring FORM Tag Library Spring MVC provides a JSP tag library (Spring Form) for making it easier to bind form elements to Model data. Spring Framework also provides you with some tags for evaluating errors, setting themes and outputting internationalized messages. also read: Spring Tutorials Spring 4 Tutorials Spring Interview Questions Syntax to use Spring …
How to secure EJB Applications?
In this article, we will see the various aspects in securing an EJB Application. Security is vital not only for an enterprise application but also for any kind of application. It is essential to identify the system or the users accessing the applications and to provide access or denial for resources within the application based …
Struts LOGIC messagesPresent and messagesNotPresent Tag ( < logic:messagesPresent > and < logic:messagesNotPresent >)
Struts LOGIC Tag Library Struts LOGIC tag library provides tags that are useful in managing conditional generation of output text, looping over object collections for repetitive generation of output text, and application flow management. also read: Struts 2 Tutorials Struts Interview Questions Struts and Spring Integration Syntax to use Struts LOGIC tag library < logic:messagesPresent …
Struts LOGIC match and notMatch Tag ( < logic:match > and < logic:notMatch >)
Struts LOGIC Tag Library Struts LOGIC tag library provides tags that are useful in managing conditional generation of output text, looping over object collections for repetitive generation of output text, and application flow management. Syntax to use Struts LOGIC tag library < logic:match > and < logic:notMatch> < logic:match >-This tag matches the selector attributes(String) …
Struts LOGIC Iterate Tag ( <logic:iterate> )
Struts LOGIC Tag Library Struts LOGIC tag library provides tags that are useful in managing conditional generation of output text, looping over object collections for repetitive generation of output text, and application flow management. Syntax to use Struts LOGIC tag library -This tag repeats the nested body content of this tag once for every element …