Originally posted by Mike Curwen:
EJB's always perform ejbLoad before the execution of a transactional business method, and always call ejbStore after the method completes.
So if your database has changed in the meantime, it doesn't matter that the bean is not immediately refreshed, since it is guaranteed to be fresh when it's really needed.
Also - and I haven't confirmed it... but I understand that the container will know when you have deleted rows from the database, and it will unload the corresponding EJB's. I would assume it would do this when an attempt is made to findByPrimaryKey, but I'm not sure.
Originally posted by Ajith Kallambella:
This is hardly a problem. Almost all the parsers has overloaded parse methods that take InputStream, InputSource and String as arguments. You can use any of these.
Checkout the parser documentation to see what flavours of parse methods are available...
Originally posted by narenkumar:
use microsoft's DOM parser, which is inbuilt in IE 5.x
u should achieve it easily