j2ee

The Camel Glue for MicroServices

Sep 15th, 2016 | By | Category: architecture, design, Featured, j2ee, java, soa

Recently, at E-Bee, I developed a framework for enabling Micro Services using Apache Camel. I have always been a big fan, nay, a fanatic, of modularisation. Combine the modularisation concept with the notion of Micro services and you would stipulate that all modules need to expose Micro services. All the services that are available from one module must […]



Unit Testing Spring-Hibernate Code with HSQLDB

Aug 6th, 2013 | By | Category: code snippets, design, j2ee, java

Recently, we used hibernate extensively in a Spring based  Java application to connect to an Oracle DB. For unit testing, we decided that we should connect to HSQLDB so we can test out the usage of hibernate in a more portable manner. I scoured the web for snippets of code to achieve this. Finally, I […]



Value Object Wizard (VOW)

Jul 13th, 2010 | By | Category: architecture, j2ee, java

  Launching the Value Object Wizard I have launched a project called Value Object Wizard in sourceforge. Please take a quick look and send me your comments. The details are in the home page.  



Perf Analysis – Browser Caches & Response Code 304

Apr 29th, 2010 | By | Category: architecture, j2ee, java, optimization
This entry is part 5 of 9 in the series optimization

This entry is part 5 of 9 in the series optimizationWith no offense to the favored species, here is a bad joke about blonds: Question: Why is it a bad idea to give the weekend off to a blond? Answer: Because you have to retrain her on Monday. But browsers, unlike blonds, learn from experience […]



Perf Analysis – Web Layer & Browser

Apr 28th, 2010 | By | Category: architecture, design, j2ee, optimization
This entry is part 6 of 9 in the series optimization

This entry is part 6 of 9 in the series optimizationThis article delves more into the performance analysis exercise that I alluded to in a previous article. We begin our analysis with the web layer which serves as the entry and egress to our core application. Does your web layer buckle under load as the […]



Performance Analysis of a web application

Apr 24th, 2010 | By | Category: architecture, j2ee, optimization, technology
This entry is part 7 of 9 in the series optimization

This entry is part 7 of 9 in the series optimizationApplication performance testing is just about the last thing that we may have to do before we could certify an application as production ready. Or it may be just about the last thing we do before we decide to discard the app in the dumpster. […]



On Choice & Necessity

Dec 1st, 2009 | By | Category: j2ee, java

I see quite a few arguments in various forums bemoaning about the surfeit of choice that is available in the Java world.  For instance, there was a question about the best choice for Unit testing frameworks in Java to which the answer was that the questioner was better off choosing .NET since it tends to […]



Framework design patterns.

Sep 20th, 2009 | By | Category: architecture, code snippets, design, j2ee, java

Imagine a large building with its foundation resting on a bedrock. Now consider  the possible impact of doing  any kind of repair work on the bedrock!  Sounds scary? Fortunately, the analogy does not fully extend to the realm of software in its full gravity. Yet this metaphorical mental escapade would bring some notion of the […]



Spring AOP – Some Recommended Usages

Feb 22nd, 2008 | By | Category: aop, architecture, design, j2ee

Horizontal concerns & SRP We start with an object oriented tenet that states that one class must implement one and only one responsibility. This is called the Single Responsibility Principle (SRP). SRP states for instance that a UserService class can only do “user management” and nothing else. This at the outset may look very obvious […]