Weblog

All | Personal | Sun
« Previous day (Dec 7, 2005) | Main | Next day (Dec 8, 2005) »
20051208 Thursday December 08, 2005

Develop Custom Realm in NetBeans I will write simple custom realm for Sun Application server in NetBeans. This realm will be used for authentication of users. I will implement very simple realm that will check password that are stored in Hashtable. I guess, extending this realm for using JDBC or other technology is easy task.
Implementation involves the following three steps:

The realm will be developed in NetBeans IDE. Final SimpleRealm project is avalaible here.Create new J2SE project and follow these steps: What's about debugging realm in NetBeans?
Start Application server in debug mode and put breakpoint in Realm class and attach debugger to port 9009. Then, you can login in your application and then debugg realm. ~ Posted by pblaha ( Dec 08 2005, 04:02:29 PM CET ) Permalink Comments [6]

Calendar

RSS Feeds

Search

Links

Navigation

Referers

Older blog entries