• About
Triona Weblog

Software Development and much more

CDI

CDI and Proxies

14.06.2019 by Stephan Flock

CDI – “Contexts and Dependency Injection” – is a powerful framework of the Java EE standard, which realizes important software design principles including loose coupling and the programming paradigm of aspect-oriented programming, made possible by interceptors intervening in method invocations. CDI has remarkable mechanisms that run in the background and allow comfortable use of such … [Read more…]

Views: 43225
Posted in: Development, Java, JEE, Triona Tagged: CDI, CDI Mechanism, Dependency Injection, Java, JEE, Proxies, ProxyFactory, Weld

Memory leak because of injecting @ViewScoped beans in @FlowScoped beans

22.05.2014 by Anton Autor

Currently we are developing a new JEE application that amongst others makes use of CDI and JSF. The application runs on a Jetty server where Weld 2.2.1.Final was added as CDI-implementation and Mojarra 2.2.6 as JSF-implementation. A while ago we noticed that sometimes the server halted without any obvious reason. It did not crash but … [Read more…]

Views: 12318
Posted in: JEE Tagged: CDI, FlowScoped, Inject, Leak, Memory, ViewScoped

Ein kurzer Überblick über Scopes in Java EE7

02.01.2014 by Anton Autor

Die Scopes haben in den letzten Updates der Spezifikationen von JavaServer Faces (JSF) und Contexts and Dependency Injection (CDI) weitreichende Änderungen erfahren. Mit der JSF 1.0 Spezifikation standen lediglich vier Scopes zur Verfügung: None, Request, Session und Application. Besonders zwischen dem kurzen Request Scope, der an einen einzelnen http Request/Response Zyklus gebunden ist und dem … [Read more…]

Views: 19240
Posted in: JEE Tagged: CDI, JavaEE, JSF, Scopes
July 2022
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« May    

Tags

API Architecture CDI Collections Comparable Comparator Database EA Eclipse Enterprise Architect Excel HTML Iteration Java Java 8 JavaEE Java EE Java Enterprise Development javascript Javascript Canvas HTML5 Java SE Java SE 9 JEE JEE 6 JPA jQuery JSF linux Makro MariaDB Maven Oracle Plugins PrimeFaces Relation relationship Richfaces Security Service Subversion Tutorial VBA Wildfly XML XML-Schema

Recent Posts

  • Jakarta EE 9 – An upheaval with difficulties
  • Jakarta EE 9 – Ein Umbruch mit Schwierigkeiten
  • Erste Schritte mit Hibernate Spatial
  • MVC 1.0 Framework
  • CDI and Proxies

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2022 Triona Weblog.

Impressum | Datenschutzerklärung