javaee.md
July 15, 2021 · View on GitHub
Bookmarks tagged [javaee]
www.codever.land/bookmarks/t/javaee
CDI and @Startup: SOLVED! | New posts here >>> rmannibucau.metawerx.net
https://rmannibucau.wordpress.com/2015/03/10/cdi-and-startup/
Speaking on the CDI list about CDI 2.0 standalone container API Jozef Hartinger sent an answer which is quite obvious when you know it but which can change your life if you don’t: how CDI 1.1 introduc...
- :calendar: published on: 2015-03-10
- tags: javaee, cdi, ejb, annotations
Message Driven Beans, attributes explanation - Jboss Docs
https://docs.jboss.org/ejb3/docs/tutorial/mdb/mdb.html
This example shows you how to implement an MDB with EJB 3.0 using annotations. Take a look at [ExampleMDB.java](https://docs.jboss.org/ejb3/docs/tutorial/mdb/src/org/jboss/tutorial/mdb/bean/ExampleMDB...
- tags: java, javaee, ejb, message-driven-bean, messaging
Validating JAX-RS resource data with Bean Validation in Java EE 7 and WildFly
https://samaxes.com/2014/04/jaxrs-beanvalidation-javaee7-wildfly/
I have already approached this subject twice in the past. First, on my post Integrating Bean Validation with JAX-RS in Java EE 6, describing how to use Bean Validation with JAX-RS in JBoss AS 7, even ...
- :calendar: published on: 2014-04-01
- tags: bean-validation, jaxrs, javaee, wildfly, jboss
- :octocat: source code
What Is Faster EJBs or CDI? - YouTube
https://www.youtube.com/watch?v=6Gm0u9gX56w
Live coding of two simple jax-rs resources one annotated with EJB and one with CDI plus a benchmarking test with jmh. EJB performs better in this scenario. Write your benchmark for your situation
- tags: javaee, jaxrs, ejb, cdi, benchmarking
@Stateless As JAX-RS Resource? - 5min
https://www.youtube.com/watch?time_continue=96&v=BnUsNlPnZZo&feature=emb_logo
@Stateless is an interesting component to be used as JAX-RS resource. Even if performance is not your primary goal: [https://www.youtube.com/watch?v=6Gm0u9gX56w](https://www.youtube.com/watch?v=6Gm0u9...
- :calendar: published on: 2016-04-26
- tags: java, javaee, ejb, monitoring, microservices
@Singleton vs @ApplicationScope
https://stackoverflow.com/questions/26832051/singleton-vs-applicationscope/27848417
All those kinds of singletons (static, @javax.inject.Singleton, @javax.ejb.Singleton and @javax.enterprise.context.ApplicationScoped) are created once per JVM.
Short explanation of the differences
- :calendar: published on: 2014-11-09
- tags: static, singleton, synchronized, javaee
Jakarta Bean Validation - Home Page
What is Jakarta Bean Validation Jakarta Bean Validation is a Java specification which
- lets you express constraints on object models via annotations
- lets you write custom constraints in an ext...
- tags: java, javaee, bean-validation, javabeans, validation
Spring, Jakarta EE, CDI: The Good Parts - 1h:40min
https://www.youtube.com/watch?v=Px_FCgmrCLQ
For few last years I was doing many presentations about problems caused by container based dependency injections and runtime aspects based on dynamic proxy. If You are not familiar with this I will qu...
Hibernate Validator - Jakarta Bean Validation Reference Implementation - Create custom constraints
https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#validator-customconst...
The Jakarta Bean Validation API defines a whole set of standard constraint annotations such as @NotNull, @Size etc. In cases where these built-in constraints are not sufficient, you can easily create ...
- tags: java, validation, javaee
Thorntail Home Page
Thorntail provides a mechanism for building applications as uber jars, with just enough of the WildFly application server wrapped around it to support each application's use-case.
- tags: javaee, microservices
- :octocat: source code
CDI Reference Implementation
http://docs.jboss.org/weld/reference/latest/en-US/html_single/
CDI: Contexts and Dependency Injection for the Java EE platform
- tags: weld, dependency-injection, javaee, docs
Mockito: Why You Should Not Use InjectMocks Annotation to Autowire Fields – Ted Vinke's Blog
https://tedvinke.wordpress.com/2014/02/13/mockito-why-you-should-not-use-injectmocks-annotation-to-a...
People like the way how Mockito is able to mock Spring's auto-wired fields with the @InjectMocks annotation. When I read this post of Lubos Krnac last week, I thought I should explain why I think the ...
Oliver Gierke - Why field injection is evil
http://olivergierke.de/2013/11/why-field-injection-is-evil/
I’m quite frequently getting pulled into discussions on Twitter about the different flavors of Dependency Injection. Also, I’ve repeatedly expressed my distaste for field injection but as Twitter is n...
- :calendar: published on: 2013-11-22
- tags: dependency-injection, javaee, spring
Injection with CDI (Part I)
https://antoniogoncalves.org/2011/05/03/injection-with-cdi-part-i/
There are three parts:
- Injection with CDI (Part I) - Focused on default injection and qualifiers
- [Injection with CDI (Part II...
- :calendar: published on: 2011-09-25
- tags: dependency-injection, cdi, javaee
- :octocat: source code
Asynchronous REST Services with JAX-RS and CompletableFuture · allegro.tech
https://allegro.tech/2014/10/async-rest.html
One of new features introduced by JAX-RS 2.0 is asynchronous processing in Server and Client APIs. We use these APIs together with CompletableFutur...
- :calendar: published on: 2014-10-29
- tags: rest, java, javaee, asynchronous
Jakarta EE Software Homeage
Jakarta Enterprise Edition (EE) is the future of cloud native Java. Jakarta EE open source software drives cloud native innovation, modernizes enterprise applications and protects investments in Java ...
Transaction strategies: Understanding transaction pitfalls
https://www.ibm.com/developerworks/library/j-ts1/index.html
Transaction processing should achieve a high degree of data integrity and consistency. This article, the first in a series on developing an effective transaction strategy for the Java platform, introd...
- :calendar: published on: 2009-02-10
- tags: javaee, spring, transactions
@Asynchronous does not work from inside the same EJB
https://www.whitebyte.info/programming/java/asynchronous-does-not-work-from-inside-the-same-ejb
The @Asynchronous annotation does not work from inside the same EJB. The solution is to use a separate EJB that wraps the async Method.
- tags: javaee, ejb, asynchronous, async
How to build and clear a reference data cache with singleton EJBs and MBeans
http://www.codingpedia.org/ama/how-to-build-and-clear-a-reference-data-cache-with-singleton-ejbs-and...
In one of my projects I had a requirement to load reference data from several sources in a Java EE 6 WebLogic environment, with EclipseLink as ORM framework. Since I couldn’t find an annotation in the...
Creating clustered EJB 3 Timers
http://www.mastertheboss.com/jboss-server/wildfly-8/creating-clustered-ejb-3-timers
In this tutorial we will demonstrate how to configure a Timer EJB 3 Service on a cluster of servers. You will need WildFly 8 application server and a Database supporting READ_COMMITTED or SERIALIZABLE...
- tags: javaee, wildfly, scheduling
Scheduling in Java EE
https://www.baeldung.com/scheduling-in-java-enterprise-edition
A demonstration of how to schedule tasks in Java EE using the @Schedule annotation and the timer service.
- :calendar: published on: 2017-11-30
- tags: javaee, scheduling
- :octocat: source code
Complete Guide: Inheritance strategies with JPA and Hibernate
https://www.thoughts-on-java.org/complete-guide-inheritance-strategies-jpa-hibernate/
Hibernate and JPA support 4 inheritance strategies which map the entities to different table models. But which one is the best for your use case?
java ee - Unsatisfied dependencies for type X with qualifiers @Default - Stack Overflow
https://stackoverflow.com/questions/27706091/unsatisfied-dependencies-for-type-x-with-qualifiers-def...
In Java EE 7, the default scanning for JARs/WARs is annotated, meaning that if you don't have a beans.xml that specifies the scan mode, it will default to annotated based scanning.
- tags: javaee
Arquillian and Wildfly: Integration test tutorial
https://www.softwareyoga.com/arquillian-and-wildfly-integration-test-tutorial/
Arquillian is a testing platform for JavaEE applications. This tutorial creates an Arquillian test and executes it on the Wildfly container.
- :calendar: published on: 2015-10-27
- tags: testing, javaee, arquillian
- :octocat: source code
Introduction to Testing with Arquillian
http://www.baeldung.com/arquillian
Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.
- :calendar: published on: 2017-11-30
- tags: testing, java, javaee, arquillian
- :octocat: source code
REST with Java (JAX-RS) using Jersey - Tutorial
http://www.vogella.com/tutorials/REST/article.html
RESTful web services with Java (Jersey / JAX-RS). This tutorial explains how to develop RESTful web services in Java. It uses the JAX-RS reference implementation Jersey. In this tutorial Eclipse 4.7 (...
How to make parallel calls in Java with CompletableFuture example – CodingpediaOrg
http://www.codingpedia.org/ama/how-to-make-parallel-calls-in-java-with-completablefuture-example
This blog post presents an example about how to make parallel calls in Java with CompletableFuture in an asynchronous fashion. It resembles somehow the parallel calls pattern one can achieve in JavaSc...
GitHub - redhat-developer/redhat-sso-quickstarts
https://github.com/redhat-developer/redhat-sso-quickstarts
redhat-sso-quickstarts - Quickstarts for the Red Hat Single Sign-On (SSO) Server The quickstarts demonstrate securing applications with RH-SSO. They provide small, specific, working examples that can ...
- tags: rh-sso, node.js, javaee, jaxrs
- :octocat: source code
Introduction | RESTful Java with JAX-RS 2.0 (Second Edition)
https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/en/index.html
Complete JAX-RS 2.0 book - lots of useful examples
- tags: java, jaxrs, javaee, free-programming-books, rest-client
30.2 Using the Client API in the JAX-RS Example Applications - Java Platform, Enterprise Edition: The Java EE Tutorial (Release 7)
https://docs.oracle.com/javaee/7/tutorial/jaxrs-client002.htm
The rsvp and customer examples use the Client API to call JAX-RS services. This section describes how each example application uses the Client API.
Antonio's Blog – A blog mainly about Java
A blog mainly about Java
Adam Bien's Weblog
How to build the right smoke test REST service in Java EE with Maven – CodingpediaOrg
http://www.codingpedia.org/ama/how-to-build-the-right-smoke-test-rest-service-in-java-ee-with-maven
This post describes how to develop a REST service in your REST API backend that will provide the information about the current version of the implementation plus the git sha-1 number. It can be very u...
"WebSocket Applications using Java EE 7" by Arun Gupta - YouTube
https://www.youtube.com/watch?v=lbANLOUFe58
WebSocket Applications using Java EE 7
Configuring a CDI Application - Java Platform, Enterprise Edition: The Java EE Tutorial (Release 7)
https://docs.oracle.com/javaee/7/tutorial/cdi-basic013.htm
CDI uses an optional deployment descriptor named beans.xml. Like other Java EE deployment descriptors, the configuration settings in beans.xml are used in addition to annotation settings in CDI clas...
- tags: javaee
Java Platform, Enterprise Edition: The Java EE Tutorial Release 7 - Contents
https://docs.oracle.com/javaee/7/tutorial/
This tutorial is a guide to developing enterprise applications for the Java Platform, Enterprise Edition 7 (Java EE 7), using GlassFish Server Open Source Edition.
- :calendar: published on: 2014-09-07
- tags: javaee
How to deploy an application on Wildfly/JBoss EAP 7 via the Wildfly Maven Plugin
http://www.codingpedia.org/ama/how-to-deploy-an-application-on-wildfly-or-jboss-eap-7-via-the-wildfl...
Shows how to deploy a Java EE application on a WildFly or JBoss EAP 7 via the WildFly Maven Plugin...