There is a perception created in the software development industry that Java is out-dated and Ruby, Python, Scala, etc. are going to take over Java’s position. Some “hyper-enthusiasts” are already left Java platform. Sun’s profit model collapse, Applet, Jini, EJB and JSF heavyweight framework failures added fuel to these campaigns. I still believe no language yet available in the market to replace Java. I don’t have to talk why Java is better because it is proven solution for more than a decade but I would like to talk about how false campaigns are created by “hyper-enthusiasts”. It is easy to fall into these false campaigns because as a developer we want new challenges and something new to learn. Read the rest of this entry »
Wish you a happy new year 2010
December 25, 2009When your views on the world and your intellect are being challenged and you begin to feel uncomfortable because of a contradiction you’ve detected that is threatening your current model of the world or some aspect of it, pay attention. You are about to learn something. This discomfort and intellectual conflict is when learning is taking place.
~ William H. Drury, quoted in Chance and Change: A collection of essays on human ecology written the faculty and staff of College of the Atlantic (Dedication, 1991)
Wicket in OC4J / OracleAS
November 22, 2009Recently I tried deploying wicket framework based web application in OC4J container it didn’t work, whereas the same code works well in Tomcat. While googling found a few solution which recommends to use wicket servlet configuration instead of servlet filter to resolve the issue. I did the same but no luck. Then I tried associating a bookmarkable page for the homepage then it works well. Here is the code snippet: Read the rest of this entry »
JRebel – a productive tool for Java developers
November 15, 2009Java Rebel – a very useful productive tool
One of my friend told me about JavaRebel. Later I tried with eclipse it worked well. The installation and setups are very simple and easy. It saves a lot of time for enterprise class projects. Now you don’t have to restart Tomcat for each changes. Try out today, enjoy the productivity.
Reference:
http://www.zeroturnaround.com
http://www.zeroturnaround.com/blog/configuring-ide-debugging-with-javarebel/
http://www.zeroturnaround.com/update-site/
Java – Object XML Mapping
November 11, 2009Have you written 1000s of buggie lines of code to parse XML? Generating an XML is easy but when it comes to XML parsing/import it is hard. We have to think about many scenarios and deal with many combinations. I use to prefer XPath API for XML import because I can fetch required values as they way/order I want rather than iterating all nodes in DOM structure. XPath is better than DOM coding but is not the best solution. So I started looking for a solution similar to Hibernate for XML to Object translation. Read the rest of this entry »
Single-Sign-On (SSO) in Java Platform using Active Directory
August 29, 2009Sorry guys it been long time writing in my blog.
Nowadays single-sign-on became a hot selling feature for all desktop and web-based products. In this article I talk about single-sign-on implementation in Java platform with Active Directory server. Since Microsoft Windows has become one of the most common corporate network platforms it is worth integrating with your product. Starting from Windows 2000 Microsoft supports Kerberos protocol. It is unusal that Microsoft support open-standard protocol, but they do in this case; good for us :-) Read the rest of this entry »
GWT an innovative framework
May 19, 2009After the birth of Struts “framework” became hot buzz word in the software development industry. Now almost all languages, technologies and methodologies have tons of frameworks. Recently I was trying to figure out what is latest in the market and what are the different frameworks are available. Read the rest of this entry »
Handling currency calculations in Java business application
March 29, 2009Recently I saw a weird floating issue in Java application which made our currency calculation wrong. Can you guess what would be the output of the below code?
System.out.println(38.0 - 26.6);
Java – Thread’s stack trace dump
March 22, 2009Recently I was dealing with a deadlock issue. Usually I use eclipse break points to create deadlock situation at the same time find the line/code which causes the deadlock. But this one is bit complex scenario where it is not easy to have break points move line by line to reproduce the deadlock. Read the rest of this entry »
A JSP code to debug class loader issues
March 15, 2009Class Loader is one of the complex concept/design to understand in Java programming. On the initial days working with Tomcat and Desktop application there is not much class loading issues. From EJB days class loading became complex by specification and implementation. Seems JavaEE 5 tries to simplify the class loading specification but I don’t know much about that. Read the rest of this entry »
Is UML dead? & What is the future of UML?
March 9, 2009Once upon a time UML is a hot buzz word in software development industry. If you know what is aggregation, abbreviation, etc. you will get job easily as an architect. Tools like Rational Rose are costly only a few company had that tools. Read the rest of this entry »
Is design pattern teaches how to design an application?
March 8, 2009Many of them think that if a person knows design pattern (the theory), he/she can design an application; due to this misunderstanding many stupid questions been asked in interviews about design pattern in a meaningless way. Read the rest of this entry »
JEXL – A simple expression evaluation engine
February 15, 2009When I was developing a framework looking for a solution very similar to eval() function in JavaScript. Initially I thought of Velocity but somehow I wasn’t convinced with that approach. (Struts2 uses Velocity to externalize the HTML generation to make it customizable). Later I wrote my own parser to evaluate an expression that returns a Boolean value. Recently I found an open source which exactly meets my requirement. I don’t have to talk much about this open source you can find lot more information in their website. I thought it might be useful to others as well.
Reference: http://commons.apache.org/jexl/
JDBC performance tuning with optimal fetch size
February 1, 2009Tuning performance using fetch size is an old technique some of you might already be using this technique; some may knew about this but may not have implemented. Recently I implemented in my current project, would like to share my experience. In a typical production environment database and application will be running on different physical server. Even if you have high-end server class machine the network traffic between application and database server is one of the key factor of your application performance. Read the rest of this entry »
Debugging Applet code using Eclipse
January 17, 2009For last one month I involved in an applet development work. It is been hard to debug and fix issues in applet code as I have to use System.out.println() to see debugging information, it is very hard and time consuming for every time redeploy applet code when I add a few more System.out.println. I felt my development time is wasted so started looking around solution to debug applet code. I came across an article in IBM site to debug java code remotely using eclipse. Read the rest of this entry »
Posted by Venkat