-
Trivadis Developer Blog
This is the publication playground for these guys from OIO Trivadis, the Trivadis Group`s Java experts.
Tag cloud
Agile Methods and development Atlassian Tools Build, config and deploy Did you know? Eclipse Universe Groovy and Grails Java and Quality Java Basics Java EE Java modularization Java Persistence Java Runtimes - VM, Appserver & Cloud Java Web Frameworks MDSD Open Source BI Other languages for the Java VM Politics Security SOA / Webservices Spring Universe Web as a Platform XML Universe
Tag Archives: Dependency Injection
Dependency Injection mit Angular 9
Der Angular 9 Release, eines der grössten Updates in den letzten drei Jahren, ist bereits knapp vier Monate her. Der Schwerpunkt vom Release und somit auch von vielen der Release Notes lag sicherlich auf dem Ivy-Compiler. Dieser ist nun standardmässig … Continue reading
CDI Unterstützung für Infinispan
Infinispan unterstützt CDI (Contexts and Dependency Injection) über das Modul infinispan-cdi. Das Modul ermöglicht sowohl den Infinispan-Cache zu konfigurieren als auch das Injizieren von Cache-Instanzen in CDI-Beans. Zusätzlich bietet das Modul eine partielle Unterstützung der JCache (JSR-107) Cache Annotationen.
Posted in Java EE, Java Persistence, Java Runtimes - VM, Appserver & Cloud
Tagged Big Data, caching, CDI, Dependency Injection, Infinispan
Leave a comment
When to prefer EJB over CDI
While Contexts and Dependency Injection (JSR 299, CDI) is becoming more and more popular, there is also some confusion about the usage of CDI and EJB. We are sometimes asked by our clients when to prefer one over the other. … Continue reading
Maven 3.1.0 Released
The build tool Apache Maven has been released in version 3.1.0. The most noteworthy changes of this release are the following: JSR 330 (Dependency Injection for Java) is used for extensions and plugins. While JSR 330 has been available in … Continue reading
Posted in Build, config and deploy
Tagged build tool, Dependency Injection, Eclipse Aether, JSR 330, maven, SLF4j
Leave a comment
Component-scan mit einer Namenskonvention in Spring
Um Komponenten in einem Spring-Container bekannt zu machen, gibt es zwei grundsätzlich unterschiedliche Möglichkeiten: Explizite Bekanntmachung der Komponente z.B. per -Tag Automatische Suche nach Komponenten im Klassenpfad mit dem Tag Die automatische Suche macht dabei standardmäßig alle Klassen im Klassenpfad … Continue reading
Posted in Spring Universe
Tagged annotation, configuration, convention, Dependency Injection, spring, XML
Leave a comment
Dependency Injection und AOP mit CDI (JavaEE 6)
Über den JavaEE 6 Standard CDI (Context and Dependency Injection, JSR 299) findet man viele Einsteiger-Tutorials in der Form Getting Started oder CDI + JSF. Für grundlegende Beispiele und Anwendungsszenarios sollte man aber mal einen Blick auf die Seite “Java EE … Continue reading
8 Möglichkeiten, Projekte mit Spring aufzubauen
Das Spring-Framework ist sehr flexibel. Viele Wege führen nach Rom und Umgebung: Explicit XML Alle Beans und alle Abhängigkeiten werden explizit in der XML-Konfiguration aufgeführt. Annotations Spring-Beans werden mit der Annotation @Service und Abhängigkeiten mit der Annotation @Autowired bekannt gemacht. … Continue reading