JavaBeat Feeds
|
|
|
|
|
|
|
Pages :
1
2
3
4
5
6
7
8
9
[Total Tips : 88]
|
|
|
How to Configure hibernate using XML files?
Author :
JavaBeat
Date : Sat Jul 19th, 2008
Using XML files for configuring hibernate application is the most widely used approach.
This is simple one and less whanges needed in the future. There is two types of
configuration we can do using XML files. one is non-managed environment and another one
is for managed environment. Here we will explain about the non-managed environment or
standalone program. In the managed environment you can use datasourec for establishing connection
to the database instead directly specifying all the properties in the configuration file.
Creating simple toolbar using RichFaces tag library
Author :
JavaBeat
Date : Sat Jul 19th, 2008
This example demonstrates how to create simple toolbar using RichFaces tag library.
RichFaces provides predefined tags like rich:toolBar which will be easily plugged into
our webpages to disply the toolbar component. Apart from rich:toolBar, to create menus
we have to use other tags rich:dropDownMenu and rich:menuItem.
Use rich:datascroller for rich:dataTable pagination
Author :
JavaBeat
Date : Fri Jul 18th, 2008
rich:dataTable tag is the
RichFaces version fo
datatable component which has
few extra features
on look and feel.One
of the difficulty JSF
developers is creating good
pagination for the
data dsiplayed using
rich:datatable. To resole
this problem, RichFaces tags
library provides
rich:datascroller
component which can display
the automatic paginations
based on data populated using
rich:dataTable.
Use a4j:status to display status of the request
Author :
JavaBeat
Date : Fri Jul 18th, 2008
When there is a request to the server, the client have to wait untill he gets the response.
It will be nice if you give status of the server request processing. use a4j:status tag in the
RichFaces to implement this feature in your webpages. In this example this tag is used with
a4j:support and showing the status message while user types in the text field.
a4j:support - How to use action attribute?
Author :
JavaBeat
Date : Fri Jul 18th, 2008
This example program demonstrates how to use action attribute to update the server values and
display in the screen. In this example user inputs are passed to update method and processed. The values are
updated in the h:panelGrid component. The advantage of using a4j:support tag is it can be updated the
whole region by specifying the reRender attribute.
a4j:support - Simple Example on onkeyup event
Author :
JavaBeat
Date : Fri Jul 18th, 2008
This example program demonstrates how to get started with a4j:support tag in the
RiachFaces tag libraray. This is part of Ajax4jsf libraray. But, from RiachFaces 3.0, Ajax4jsf is
merged with RichFaces tag libraray. a4j:support is used inside any component to provide
ajax support on that particular field.
How to write Throws Advice in Spring AOP?
Author :
JavaBeat
Date : Tue Jul 15th, 2008
Throws Advice is used when throwing exception from the business methods. This interceptor will be
called when there is any exception, so one can do any logic to candle the exception.
How to write Interception Around Advice in Spring AOP?
Author :
JavaBeat
Date : Tue Jul 15th, 2008
In this tips we explore how to use the Interception Around Advice in Spring's Aspect Oriented Programming(AOP).
Interception Around Advice is fundamental advice type in the Spring framework. Also this advice type is derived from
other frameworks like AspectJ. So it is interoporable with other framework, other advices in the Spring AOPs are
specific to Spring Framework and cannot be used in the other similar frameworks.
Simple example for Before advice and After Advice in Spring Framework
Author :
JavaBeat
Date : Mon Jul 14th, 2008
This tips presents a very simple program for invoking the Before Advice and After Advice
in the Spring Framework. Thsese two methods are part of Spring's AOP implementation and
used as interceptor methods.
Editing eclipse classpath file
Author :
JavaBeat
Date : Mon Jul 14th, 2008
While creating a project in Eclipse, by default it creates a .classpath file in the project directory. That file will be usedfor storing file names and other dependent files needed in the classpath to compile and execute the project successfully.
|
|
Pages :
1
2
3
4
5
6
7
8
9
|
|
|
|