|
From: Tomas G. <to...@pr...> - 2003-02-28 08:42:56
|
> java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > se.anatom.ejbca.ca.sign.RSASignSessionBean.ejbCreate(RSASignSessionBean.java:129) > > Could we do this via an interface (of the factory) instead of using > reflection? This might make the process more rebust. As long as it works, every improvement is good! > Another question I have, could we make a baseCMPBean and baseSessionBean > with all basic cmp/session methods. I already saw we're doing this on > some places but not everywhere. There is a base session bean as you point out, and it should be used everywhere. A base entity bean would also be nice, I agree. Looking forward to nice patches! Regards, Tomas |