Tag Archives: weld

Get Weld project running in Glassfish Tools Bundle for Eclipse 1.2

Today i took a look into the GlassFish Tools Bundle for Eclipse to see if it could speed up my Java EE6-development. I was especially curious about the hot-deployment capabilities. After downloading the Glassfish Tools from the download site and importing a simple Weld-JEE-project (i was using the Maven archetype “weld-jsf-jee-archetype”), an error showed up, [...]
Posted in General | Also tagged , | Leave a comment

Enable Weld Logging on Glassfish with Maven

Just figured out how to use a Weld-injected Logger on Glassfish. Unfortunately, i couldn’t get Log4J12 as SL4J Implementation running, like the author of this post did (i hope i’ll find out later), but with the sl4j-jdk14 binding, the logging just works. Steps: Add the following dependencies to the pom.xml: <!-- SL4J API --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.0</version> </dependency> [...]
Posted in General | Also tagged | 2 Comments