Hot Deploy on JBoss (5.0.1) (JSF, SEAM)
In this period,i’m working on a J2EE project based on EJB3 and JSF with RichFaces. The building and deploying are managed with ANT scripts. Every time i need to modify just a little label on a...
View ArticleMap Oracle to Java Objects
Oracle Objects are user defined types that are used to insert some OOP elements in a well-known relational database. Sometimes does happen that you need to map a more complex behaviour and standard...
View ArticleFullscreen support Eclipse Helios and Indigo for Mac OS X Lion
Fullscreen apps in Mac OS X Lion is a great feature. Eclipse Indigo (the last Eclipse version) was released just few weeks before MacOsx Lion and doesn’t support it. Looking for a solution i found on...
View ArticleCursor as Stored Procedure out parameter mapped with JAVA ResultSet
In a recent project i need to write a very complex query that,depending on input parameters, have to compose itself. SELECT, FROM, WHERE and ORDER BY clauses were all builded dinamically. For this...
View ArticleSet different icons on the same level in a rich:tree
Today i need to set a different icon for different node on the same level of a richFaces tree. Before this need i set icon image for each node level with facet: <rich:treeNodesAdaptor id="level2"...
View ArticleCollapse other nodes on rich:tree node selection
A requirement on software i developing is concerned rich:tree selection. My customer wants that the node expansion must be performed not only on “plus/minus icon” but also on simple node selection....
View ArticleORACLE TEXT: a simple way to implement scoring text search engine on ORACLE DB
ORACLE TEXT is an ORACLE extension to build text query and document classification. In this post i will describe text query functionality. My customer wants a search functionality on several database...
View ArticleDesign Pattern : Observer
Today i wanna speak about a classic Design Pattern : Observer. Observer is usually used when an object needs to be informed about other’s object state changing and, as general rule, in events...
View ArticleDeep recursion in Java
Recursion is a very elegant way to write some kind of algorithms. With few code lines we can implement complex solutions. We know that, on each call on a recursive method, we add a new record with all...
View Article