The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Blog Archive for mriem during March 2009

We already know how to deny everyone access, but how do you allow everyone access? Well, see the EJB Almanac page for more information.
Ever wondered how to deny access to a given method in your EJB to any role? Well, have a look at today's EJB Almanac page for more information.
While both CVS and Subversion have served me well over the years I have decided to move all my personal coding stuff over to Mercurial. The main reason for me is that for each project I will have all the history available on my local system without having to go back to the server. This is particularly useful when you are offline, but still want to be able to code efficiently ;) Beyond that if I...
Security is another part that you can annotate your way around. The @DeclareRoles annotation makes it possible for you to specify roles. Visit the EJB Almanac page for more information.
This entry takes a stab at @Resources. This annotation is hardly ever used, at least if you would want to find examples about it, there are hardly any out there. So if you have wondered how this one is used, we visit the EJB Almanac page for more information.
This EJB Almanac entry is looking at @Resource, an annotation used for various things. Most notably though for injection of UserTransaction objects. Visit the EJB Almanac page for more information.
This entry for the EJB almanac talks about @PreDestroy. Visit the EJB Almanac page for more information.
If you are like me you like little code snippets that give you a short example on how something works. For general JavaSE this would be at the Java Developers Almanac 1.4 website. Now I have undertaken to do the same for EJBs. Have a look at the first entry of the EJB Almanac for more information.