To inject or not to inject: CDI is the question « Antonio's Blog - 0 views
Core J2EE Patterns - 0 views
Dependency Injection in Java EE 6 (Part 6) - 0 views
-
one of the most important value propositions for frameworks like Spring has been the ability to easily extend the framework or integrate third-party solutions
-
SPI allows you to register your own beans, custom scopes, stereotypes, interceptors and decorators with CDI even if is it not included in the automatic scanning process (such as perhaps registering Spring beans as CDI beans), programmatically looking up CDI beans and injecting them into your own objects (such as injecting CDI beans into Spring beans) and adding/overriding annotation-metadata from other sources (such as from a database or property file)
-
SPI can be segmented into three parts. Interfaces like Bean, Interceptor and Decorator model container meta-data (there are a few other meta-data interfaces such as ObserverMethod, Producer, InjectionTarget, InjectionPoint, AnnotatedType, AnnotatedMethod, etc). Each meta-data object encapsulates everything that the CDI container needs to know about the meta-data type
Part 3 of dependency injection in Java EE 6 - 1 views
-
powerful way of formalizing the recurring bean roles that often arise as a result of application architectural patterns
Test enrichers - Arquillian - Project Documentation Editor - 0 views
-
With Arquillian, you no longer have to worry about setting up the execution environment because that is all handled for you. The test will either be running in a container or a local CDI environment
Containers - Arquillian - Project Documentation Editor - 0 views
-
Arquillian recognizes three container interaction styles: A remote container resides in a separate JVM from the test runner. Arquillian binds to the container to deploy the test archive and invokes tests via a remote protocol (e.g., Servlet, JMX). A managed container is similar to a remote container, except its lifecycle (startup/shutdown) is also managed by Arquillian. An embedded container resides in the same JVM and is mostly likely managed by Arquillian. Tests are executed via a local protocol for containers without a web component and via a remote protocol for containers with a web component. No need to fiddle with those Maven plugins!
-
Arquillian can control a variety of containers out of the box
How it works - Arquillian - Project Documentation Editor - 0 views
-
How it works
-
write a basic test case and annotate it with declarative behavior that says, "@RunWith Arquillian."
-
tells Arquillian to take over execution of the test when it's launched
- ...1 more annotation...
PlantUML - 0 views
JBoss Developer Framework - 0 views
InfoQ: Dan Allen on Arquillian Testing Framework - 0 views
-
Arquillian Testing Framework
-
Arquillian is an integration and functional testing platform that can be used for Java middleware testing. With the main goal of making integration (and functional) tests as simple to write as unit tests, it brings the tests to the runtime environment, freeing developers from managing the runtime from within the test.
Java Persistence Performance - 0 views
EntityManager (Java EE 6 ) - 0 views
-
createNamedQuery(java.lang.String name)
-
Java Persistence query language or in native SQL
« First
‹ Previous
861 - 880 of 1272
Next ›
Last »
Showing 20▼ items per page