If you want to unit test a method that depends java.util.ResourceBundle, and want to isolate bundle access code with mocking ResourceBundle, using for example, JMock Dynamic Mocking Library, you will face with a restriction, that commonly used methods, such as getString(key) are defined as final in ResourceBundle class. There is no way to extend and […]
Month: June 2005
Lookup Tables with Hibernate and JSF
Every project has several tables which contains data mainly in a form of code,name pair. Those tables define state, type or other similar values as codes, which will be referenced from other tables in database. Further, their name values are used in GUI to make users know what those code values really mean in real […]
Enabling Acegi (1)
We have decided to use Acegi Security Framework in order to implement security requirements in our web based project, but might possibly have diverse security requirements, in addition to form based authentication and role based authorization, such as remoting support, domain object security, run-as capability, SSO, after invocation security, certificate based authentication which is integrated […]