Developers, Developers, Developers! Maksim Sorokin IT Blog


JPA Persistence With GlassFish

So you want to use javax.persistence. Here is how you can configure it and run with GlassFish.


Java EE 6 Injection With Dynamic Parameter

Say, you want to inject an object using @javax.inject.Inject. And you would like to pass additional dynamic parameter upon initialization. You can do the following trick.