• There is no language yet available to replace Java!

    There is a perception created in the software development industry that Java is outdated and that Ruby, Python, Scala, etc., are going to take over Java’s position. Some “hyper-enthusiasts” have already left the Java platform. Sun’s profit model collapse, along with the failures of Applet, Jini, EJB, and JSF heavyweight frameworks, have added fuel to…

  • Wicket in OC4J / OracleAS

    Recently 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…

  • JRebel – a productive tool for Java developers

    Java 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…

  • Single-Sign-On (SSO) in Java Platform using Active Directory

    In today’s rapidly evolving digital landscape, the demand for streamlined user experiences has propelled single-sign-on (SSO) to the forefront of both desktop and web-based product development. In this article, we will explore the implementation of SSO in Java platform, specifically in conjunction with an Active Directory server. Considering the widespread adoption of Microsoft Windows as…

  • GWT an innovative framework

    After 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.

  • Handling currency calculations in Java business application

    Recently 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

    Recently 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.

  • A JSP code to debug class loader issues

    Class 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…

  • Is UML dead? & What is the future of UML?

    Once upon a time, UML was a highly popular buzzword in the software development industry. It was considered essential knowledge for architects, as understanding concepts like aggregation and abstraction could easily land you a job. However, tools like Rational Rose were costly, limiting their availability to only a few companies. Over time, the popularity of…

  • Is design pattern teaches how to design an application?

    Many 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.

  • JEXL – A simple expression evaluation engine

    When 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…

  • JDBC performance tuning with optimal fetch size

    Tuning performance using fetch size is an old technique some of you might already be using this configuration; some may know about it but may not have implemented. Recently I have implemented in my current project, would like to share my experience. In a typical production environment database and application will be running on different…

  • Connection Pool vs. Thread Pool Settings

    Connection Pool and Thread Pool are essential components in improving the performance of applications. However, many developers tend to overlook the significance of configuring these pools optimally, often relying on default settings. In reality, the configuration of these pools plays a crucial role in performance tuning. In this post, we will explore the dependency between…

  • Java EE – Performance Tuning Tips

    Every application goes through some performance issues whether it is an intranet or internet product. As development progresses, more concentration goes to resolving requirement and technical complexities than performance issues. It is essential to introduce a phase in your development life cycle to tune the product performance before it goes to production.

Blog at WordPress.com.