This content has been marked as final.
Show 2 replies
-
1. Bug in compiler with null
luc.texier Jan 5, 2005 5:58 PM (in response to kalyan120)I have been having trouble sometimes passing in null to a method call, particularly arrays. It is weird sometimes null just works, sometimes I have to typecast it, sometimes I have to declare a variable and pass the variable in. I don't have a testcase yet because sometimes it works, sometimes it doesn't.
i.e.{ Object[] args = null; foo.someMethod(args); OR.... foo.someMethod((Object[])null); // sometimes this doesn't work either } /code] instead of just { foo.someMethod(null); } /code]
-
2. Re: Stateful Bean and Serialization
darranl Jan 5, 2005 7:40 PM (in response to kalyan120)Why does the server try to serialize the bean to the file system ? Can it not store in any other secondary storage, like a cache? What will be the down side of having it that way?
See the EJB specification for your answers.