Quantcast
Channel: Java – Javanubhav (जावानुभव)
Browsing all 13 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Debugging Web-application deployed on Tomcat using Eclipse

Hello, This small article will walk you through the steps needed to setup the Eclipse environment for debugging Web application deployed on Tomcat server. I have used Tomcat 6.0.18 and Eclipse Ganymede...

View Article



Image may be NSFW.
Clik here to view.

Using Java Enums to replace conditional (IF) statements.

Hello, Recently I was using Java Enumerations for addressing some requirements and while doing that I realized that one can write a much better and maintainable code using Enums. I got rid of lot of...

View Article

Image may be NSFW.
Clik here to view.

Dependency Injection and Using Struts Actions as Spring Beans

Hello, I had created this presentation earlier to mentor my team members about Spring Dependency Injection fundamentals and explaining approach to integrate Struts 1.3 Action classes and Spring...

View Article

Image may be NSFW.
Clik here to view.

Webapp generated Excel Spreadsheet opens in same browser window – IE6

Hello, While working on a web application that generates Excel spreadsheets , I faced the issue mentioned below. Issue: Sometimes the spreadsheet is opened up in a new MS-Excel application window and...

View Article

Image may be NSFW.
Clik here to view.

Decoupling Java applications and config/properties files

Hello, I have been developing a stand-alone Java application packaged as an executable JAR file. The application had, Database interaction using iBatis APIs. Log the various activities in a log file...

View Article


Image may be NSFW.
Clik here to view.

Intercepting HTTP Response using Servlet Filter

Hello, Servlet Filters are used to intercept the HTTP Requests/HTTP Responses. Filters generally contain some logic that can be applied across a URL pattern. I have used filters generally to verify if...

View Article

Image may be NSFW.
Clik here to view.

Serialization – Compatible and Incompatible modifications to classes

Hello, Java Serialization allows us to write an Object into byte stream and again re-construct its state whenever needed. In between Serialization and De-serialization the class definition might get...

View Article

Image may be NSFW.
Clik here to view.

Producer-Consumer using Java Threads – wait,notifyAll

Hello, In Java , threads communicate with each other using “wait,notify and notifyAll” APIs.  Producer-Consumer is the classic example to explain these APIs. The example below tries to show how we can...

View Article


Image may be NSFW.
Clik here to view.

Polymorphism without Inheritance

Can Polymorphism exist without Inheritance? “Abstraction“, “Encapsulation“, “Inheritance” and “Polymorphism” forms the basic building blocks of OOA&D. We are so much overwhelmed by these facts that...

View Article


Image may be NSFW.
Clik here to view.

iBatis or Hibernate ?

Hello, I have been thinking to write this one since long. It almost now took 10 months to write the new blog entry. In this one I will be talking about the iBatis and Hibernate. I purposely did not...

View Article

Big O notation

Hello, Came across a very nice introductory article on Big O notation. https://rob-bell.net/2009/06/a-beginners-guide-to-big-o-notation/

View Article

Running Apache Spark on Windows

Running hadoop on windows is not trivial, however running Apache Spark on Windows proved not too difficult. I came across couple of blogs and stackoverflow discussion which made this possible. Putting...

View Article

Big + Far Math Challenge @ ICC

Hello, Recently I participated and won First prize in Big Far Math challenge hosted by ICC. The challenge description can be found here – http://big-far.webflow.io/ Participating in it was a quite...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images