Experience over Weblogic and Websphere Portal Servers

app_comb I am gonna write about my personal experience over the leading vendors of portal servers (BEA Weblogic and IBM Websphere) who exist in the market. I am writing my experience based on Usability, regular portal features like content management, personalization, performance and some important other features like IPC (Inter Portlet Communication, JSR 168 portlet development etc).

Read More …

July 12th, 2008 | 1 Comment

How to solve Address or Port already in use error in java?

java.net.BindException: Address already in use: JVM Bind is one of the most popular error among java developers and guys who do socket error programming in some other language too. But with respect to java this error is much familiar with socket programming and during web development. This error happens for ports 80 (HTTP) , 1098 (RMI) when it is used by other applications that is running on the same PC or server. So I am going to explain how to debug and solve this problem.

Read More …

April 22nd, 2008 | 3 Comments

Find your crappy code

crap4JCoding Standards play a vital role in the development of any software applications and development irrespective of the language that is used to develop the same. Every language whether it can be C, C++ or Java following the coding standards is must for any applications mainly to address bugs, memory leaks, performance issues and scalability. Since the style of coding may vary from language to language or developer to developer always there is always a degree of error in any software development. Most of the time the code gets crappy when multiple developers started working on the same piece of class or code and results in maintainability issues. There is always a possbility of crap code present in any software application but the degree varies. How crappy is your code ? Can somebody tell the degree of crappiness ? The answer is Yes. Alberto Savoia and Bob Evans of Agitar Labs which is a research division of Agitar Software came up with a solution called Crap4J framework for Java.

Read More …

April 1st, 2008 | Leave a Comment

Java decompilers

The concept reverse engineering led to the invention of decompilers in the world of softwares and programming. Decompilers in java is mainly used to covert the compiled object code back to source. Decompilers often help programmers by helping them to recover the lost code from the compiled binaries. Decompilation of java code or any code from some other languages need to undergo some steps like disassembly, program analysis, code analysis, structure rebuilding and code generation depending on the language or type of the code. But nowadays, decompilers are mainly used for software piracy and is used to steal copyrighted code rather than for legitimate use. We will discuss some of the best known decompilers for Java in this post.

Read More …

March 30th, 2008 | Leave a Comment

Invoking an EJB deployed in WAS using Java Client

Enterprise Java BeanEJB’s popularly known as Enterprise Java Beans are one of the state-of-the-art feature of J2EE. EJB’s are mainly used for handling transactions, security, providing remote services etc. Even though lot of Object Relational Mapping Frameworks like Hibernate has replaced EJB’s which is considered to be so heavy in any Enterprise Application. Invoking an EJB inside the Application Server Container is quite simple and process is not as tedious when you try to do the same from outside the Application Server. Today I am going to explain how to invoke an EJB service which is deployed in a remote machine using a plain java client.

Read More …

March 28th, 2008 | 1 Comment