Welcome

Accessing An Object Whose Class Is Already Loaded By Another ClassLoader

Let’s assume you use inter ServletContext communication mechanism to transfer an Object created by one web application to another web application. In order to make this object fully available to your target web application, you must make sure that those two web applications use same ClassLoader to load that object’s class. This can be easily […]

Run all TestNG tests with just one click inside Eclipse

It is a little bit annoying if you have looked around in eclipse and tried to find a short cut to run all of your tests using TestNG with one mouse click. One way of running TestNG tests is with creating a testng.xml file and defining tests in it. There are several options to define […]

How to keep hackers informed about your users!?

Application developers usually tend to be as much specific as possible when providing information about unexpected errors occurred during runtime. For most of the time, this is a good approach to do so, but not for all use cases. User login scenario is among one of those exceptions. When a user provides insufficient/invalid credentials, or […]

Some Thoughts About Constant Interface (Anti)Pattern

I have recently restarted to read Effective Java Programming Language book written by Joshua Bloch. Actually, I had skimmed it several times before, but had no chance to cover it from beginning to end yet. I want to express some of my thoughts about Item 17: Use interfaces only to define types. In this item, […]

Applet Life Cycle Issues in Internet Explorer

In previous blog entry, I had just mentioned about our server side context sharing mechanism between an applet and an web pages in our GIS enabled project. Users will try to accomplish their scenarios by using those two views. Obviously there will be switches many times between them during execution of any use case. Simply, […]

Context Sharing Between Applet and Web Application

In our project we need to provide some supporting GIS functionality via an Applet GUI to our web based CRUD operations. Users, for example, may populate search criteria, entering input both from web interface, like name pattern, date range etc., and from Applet GUI, like selecting a specific region in a map, and then execute […]

Notes and Pictures from JavaPolis 2005 – Part I

This year, I had a chance to attend JavaPolis 2005 in Antwerpen, Belgium with 3 of my colleagues. I want to provide day by day information about this year?s workouts, and other interesting happenings in my blog. This year?s activity had consisted mainly of University, Conference, BOF, Quicky sessions and lasted 5 days between 12th […]

Context Sensitive Help For Web Applications

Providing help topics relevant to current usage scenarios is a demanding requirement in today’s enterprise web applications. It is generally called as context sensitive help. Those help systems should automatically navigate to relevant help topics in help windows according to current business process, current web page, or currently focused component in those pages. There are […]

Switching Application Required System Properties According to Deployment Environment

Any serious application depends on a number of configuration properties, such as JDBC connection properties, caching properties etc. They should change according to target deployment environment. People employ different methods to take those properties outside their web applications. Among them, one commonly used method is to create a properties file and collect any property, whose […]