Archive for the ‘Programming’ Category

JetBrain’s IntelliJ IDEA goes Open Source

Saturday, October 17, 2009 15:29 1 Comment

Empowering Java Development, Now Java Developer Community have another leading IDE open sourced.
JetBrains has announced that, starting with the next release – version 9.0, it will offer its IntelliJ IDEA Java development environment as open source software. IntelliJ IDEA is to become available in two versions;  a free and open source Community Edition, [...]

This was posted under category: Java

How to ban JSP scriptlet in JSF Facelet application.

Wednesday, September 9, 2009 14:08 1 Comment

Building JSF Scriplet-free Web Pages with Expression Language & JSTL

Scriptlets (embedded Java code in JSP) are considered to be hazardous from a maintenance standpoint. Especially in JSF development, they should be dumped. The JSP 2.0 specification allows developers to explicitly ban the use of scriptlets by making the following declaration in web.xml:

<jsp-config>
[...]

This was posted under category: Java EE Tags: ,

jBPM 4.1 Released with Signavio Integration

Thursday, September 3, 2009 19:24 No Comments

On 1st September JBoss released jBPM 4.1 with some extra ordinary features & commitments. The most significant feature add is Signavio and Oryx collaboration that gives the web based BPMN graphical designer.

The web based PDL designer is now implicit part the of jBPM 4.1 package, no need to do anything extra.
Features added are below:

End-to-end demo: [...]

This was posted under category: Java Tags: , , ,

Quick Getting Started with jBPM 4.0 Tutorials

Sunday, July 19, 2009 14:12 1 Comment

Recently I have been start working on jBPM, while I was learning jBPM 3, I heard the jBPM 4.0 first release after its beta and get attention.
While exploring jBPM 4.0, it feels much better and stronger to implement a BPM solution with so much powerful features of jBPM 4.0
The jBPM 4.0 release has not gone [...]

This was posted under category: BPM Tags: , , ,

Inside String Working in JVM

Sunday, July 12, 2009 17:11 No Comments

Java Virtual Machine maintains an internal list of references for interned Strings ( pool of unique Strings) to avoid duplicate String objects in heap memory. Whenever the JVM loads String literal from class file and executes, it checks whether that String exists in the internal list or not. If it already exists in the list, then it  [...]

This was posted under category: Articles, Java Tags: , ,

Inside Implementing & Customizing Serialization in Java

Sunday, July 12, 2009 16:35 1 Comment

Implementing serialization in Java is pretty straight forward just a little step task. The class you want to be serialized just have to implements a marker Interface Serializable no override nothing extra work.
The JVM will take care of serialization and deserialization process automatically. Now you can write your object to any persistent technology e.g. database, [...]

This was posted under category: Articles, Java Tags: , , , ,

JSF Richfaces call server side method from client side java script

Tuesday, June 9, 2009 0:21 1 Comment

With the most strong JSF + Richfaces framework combination for Java Ajax application, it is very easy to call server side methods from client side java script or call your server side event method from other jsf component easily. Following is the smart & small tip to do this.
<rich:simpletogglepanel label=”Sample Page” onexpand=”buildPage()”></rich:simpletogglepanel>
<a4j:jsfunction name=”buildPage” action=”#{controller.buildAllPage}” reRendr=”grid” [...]

This was posted under category: Java Tags: , , ,

The Top 20 replies by programmers when their programs do not work:

Thursday, May 14, 2009 20:32 2 Comments

The interesting fact about programmer / developer work when their program failed to run, mostly their replies will be following.
20. "That’s weird…"
19. "It’s never done that before."
18. "It worked yesterday."
17. "How is that possible?"
16. "It must be a hardware problem."
15. "What did [...]

This was posted under category: Programming Tags: ,

Optimizing JSF Richfaces Applications

Saturday, April 25, 2009 1:13 10 Comments

JSF RIA based applications with richfaces comes with very common, mature and stable choice. Infact, richfaces is mature enough technology for implementing AJAX, rich user interfaces easily in JSF. I am sharing some of the common best practices for optimizing JSF richfaces application. 
<context-param>
        <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
        <param-value>true</param-value>
</context-param>
This config will enforce the container to [...]

This was posted under category: Articles, Java Tags: , ,

Oracle Buys Sun Microsystem

Tuesday, April 21, 2009 20:46 No Comments

Oracle Corporation (NASDAQ: ORCL) and Sun Microsystems (NASDAQ: JAVA) announced today they have entered into a definitive agreement under which Oracle will acquire Sun common stock for $9.50 per share in cash. The transaction is valued at approximately $7.4 billion, or $5.6 billion net of Sun’s cash and debt. ‘We expect this acquisition to be accretive to Oracle’s earnings [...]

This was posted under category: Programming Tags: , ,