Read all article in infoq.com/br
Mostrar mensagens com a etiqueta Java EE. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Java EE. Mostrar todas as mensagens
28 novembro 2018
21 julho 2017
20 julho 2017
08 maio 2017
21 março 2014
Designing Java EE Applications in the Age of CDI
"Even though CDI has been available since the end of 2009, most people still do not realize its full power and the possibilities it brings. Attend this session to understand which CDI features make it excel in comparison with other dependency-injection-based solutions and see how they can be used to design flexible applications and frameworks that will stand the test of time.
Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement."
Source: Oracle Learning Library
22 janeiro 2014
Adapter Design pattern - Implementation [Object Adapter]
15 novembro 2013
04 outubro 2013
Default CDI Enablement in Java EE 7
CDI provides control over component scanning via the 'bean-discovery-mode' attribute. This attribute has three possible values:
- annotated - loosely translated, means that only components with a class-level annotation are processed.
- all - all components are processed, just like they were in Java EE 6 with the explicit beans.xml.
- none - CDI is effectively disabled.
Source: The Aquarium
02 outubro 2013
Stress-Testing Java EE 6 Applications Without Stress
About movie:
In the context of Java EE 6, unit tests are nice but worthless. Unit and integration tests execute chunks of the business logic in a single thread. Back-end resources and shared states are simulated with mocks. After the initial deployment, your application will never be executed again in a single thread. Strangely enough, most applications aren't load-tested until shortly before the deadline and are put into production regardless of the results. This session shows how to continuously stress-test your Java EE applications with open source tools and lots of fun!
In the context of Java EE 6, unit tests are nice but worthless. Unit and integration tests execute chunks of the business logic in a single thread. Back-end resources and shared states are simulated with mocks. After the initial deployment, your application will never be executed again in a single thread. Strangely enough, most applications aren't load-tested until shortly before the deadline and are put into production regardless of the results. This session shows how to continuously stress-test your Java EE applications with open source tools and lots of fun!
12 setembro 2013
Web Article - Some Interview Questions to Hire a Java EE Developer
"Some examples of interview questions that check the knowledge of the candidate based on his/her experience. The questions were formulated to verify whether the candidate is capable of fulfilling the role of a Java enterprise applications developer."
Questions:
Questions:
1. Can you give some examples of improvements in the Java EE5/6 specification in comparison to the J2EE specification?
2. Considering two enterprise systems developed in different platforms, which good options do you propose to exchange data between them?
3. What do you suggest to implement asynchronous code in Java EE?
4. Can you illustrate the use of Stateless Session Bean, Stateful Session Bean and Singleton Session Bean?
5. What is the difference between queue and topic in a message queuing system?
6. Which strategies do you consider to import and export XML content?
7. Can you list some differences between a relational model and an object model?
8. What is the difference between XML Schema, XSLT, WSDL and SOAP?
9. How would you configure an environment to maximize productivity of a development team?
2. Considering two enterprise systems developed in different platforms, which good options do you propose to exchange data between them?
3. What do you suggest to implement asynchronous code in Java EE?
4. Can you illustrate the use of Stateless Session Bean, Stateful Session Bean and Singleton Session Bean?
5. What is the difference between queue and topic in a message queuing system?
6. Which strategies do you consider to import and export XML content?
7. Can you list some differences between a relational model and an object model?
8. What is the difference between XML Schema, XSLT, WSDL and SOAP?
9. How would you configure an environment to maximize productivity of a development team?
Full article here.
13 agosto 2013
Free Java EE 6 Video Tutorial
Free online tutorial about JPA, EJB 3, JSF, JMS, JAX-RS and CDI. The tutorial starts from the very basics and teaches Java EE, API by API/feature by feature, through a series of progressive code examples that build on the one before it. The tutorial uses GlassFish, NetBeans and MySQL.
07 agosto 2013
The Java EE 7 Platform: Boosting Productivity and Embracing HTML5
About movie:
In this code-based presentation Oracle's Arun Gupta walks you through what's new in Java EE 7 and will show you how to boost productivity by taking advantage of certain APIs, like Processing, Caching, and much more!
In this code-based presentation Oracle's Arun Gupta walks you through what's new in Java EE 7 and will show you how to boost productivity by taking advantage of certain APIs, like Processing, Caching, and much more!
16 julho 2013
15 julho 2013
Java EE 7 - Articles
A large collection of articles about Java EE 7 and its sub-specs, such as JSF 2.2, JPA 2.1, JMS 2.0, CDI 1.1, etc. The full articles here https://javaee7.zeef.com/.
01 julho 2013
Java EE 7 - Entreprise JavaBeans 3.2
About video: Enterprise JavaBeans is an architecture for the development and deployment of component-based applications. This webinar is an overview of the EJB 3.2: changes to the SFSBs and MDBs, security, TimerService API; optional features, and more.
Java EE 7 - Bean Validation 1.1
About video:
Bean Validation standardizes constraint declarations and validation for the Java platform.
In this webinar we will discuss via examples method-level validation, CDI integration and more in Bean Validation 1.1.
Bean Validation standardizes constraint declarations and validation for the Java platform.
In this webinar we will discuss via examples method-level validation, CDI integration and more in Bean Validation 1.1.
28 junho 2013
Java EE 7's JSF 2.2, Interceptors 1.2, and JPA 2.1 Intro Videos
Java EE 7 Launch Webinar sessions.
Here's the JSF 2.2 session:
Here's the Interceptors 1.1 session:
Here's the JPA 2.1 session:
Here's the Interceptors 1.1 session:
Here's the JPA 2.1 session:
12 junho 2013
Java EE 7 is final
Here is what EE 7 looks like as of today
The complete specification now contains 34 individual specifications.
Source
| Specification | JSR | Version | Java.net Project |
| Java Platform, Enterprise Edition | 342 | 7 | javaee-spec |
| Managed Beans | 342 | 1.0 | |
| Java EE Web Profile (Web Profile) | 342 | 1.0 | |
| Java API for RESTful Web Services (JAX-RS) | 339 | 2.0 | jax-rs-spec |
| Web Services for Java EE | 109 | 1.4 | |
| Java API for XML-Based Web Services (JAX-WS) | 224 | 2.2 | jax-ws |
| Java Architecture for XML Binding (JAXB) | 222 | 2.2 | jaxb |
| Web Services Metadata for the Java Platform | 181 | 2.1 | |
| Java API for XML-Based RPC (JAX-RPC) (Optional) | 101 | 1.1 | jax-rpc |
| Java API for XML Registries (JAXR) (Optional) | 93 | 1.0 | |
| Servlet | 340 | 3.1 | |
| JavaServer Faces(JSF) | 344 | 2.2 | javaserverfaces |
| JavaServer Pages (JSP) | 245 | 2.3 | |
| JavaServer Pages Expression Language (EL) | 341 | 3.0 | el-spec |
| A Standard Tag Library for JavaServer Pages (JSTL) | 52 | 1.2 | jstl |
| Debugging Support for Other Languages | 45 | 1.0 | |
| Contexts and Dependency Injection for the Java EE Platform (CDI) | 346 | 1.1 | github.com |
| Dependency Injection for Java (DI) | 330 | 1.0 | |
| Bean Validation | 349 | 1.1 | http://beanvalidation.org |
| Enterprise JavaBeans (EJB) | 345 | 3.2 | ejb-spec |
| Java EE Connector Architecture (JCA) | 322 | 1.7 | |
| Java Persistence (JPA) | 338 | 2.1 | jpa-spec |
| Common Annotations for the Java Platform | 250 | 1.2 | |
| Java Message Service API (JMS) | 343 | 2.0 | |
| Java Transaction API (JTA) | 907 | 1.2 | jta-spec |
| JavaMail | 919 | 1.5 | javamail |
| Java Authentication Service Provider Interface for Containers (JASPIC) | 196 | 1.1 | jaspic-spec |
| Java Authorization Contract for Containers (JACC) | 115 | 1.5 | jacc-spec |
| Java EE Application Deployment (Optional) | 88 | 1.2 | |
| Java Database Connectivity (JDBC) | 221 | 4.0 | |
| Java Management Extensions (JMX) | 255 | 2.0 | openjdk |
| JavaBeans Activation Framework (JAF) | 925 | 1.1 | |
| Streaming API for XML (StAX) | 173 | 1.0 | sjsxp |
| Java Authentication and Authorization Service (JAAS) | 1.0 | ||
| Interceptors | 318 | 1.2 | |
| Batch Applications for the Java Platform | 352 | 1.0 | jbatch |
| Java API for JSON Processing | 353 | 1.0 | json-processing-spec |
| Java API for WebSocket | 356 | 1.0 | websocket-spec |
| Concurrency Utilities for Java EE | 236 | 1.0 | concurrency-ee-spec |
Source
28 maio 2013
Live Webcast - Introducing Java EE 7 - 12, 13 June 2013
AGENDA
Keynote Address
- With speakers from Oracle, IBM, Infosys and JUGs, including:
- Hasan Rizvi, Executive Vice President, Oracle Fusion Middleware and Java, Oracle
- Cameron Purdy, Vice President, Development, Oracle
- Arun Gupta - Java EE & GlassFish Evangelist, Oracle
- Linda DeMichiel, Specification Lead for Java Platform, Enterprise Edition 7, Oracle
On-Demand Breakout Sessions
- 15 sessions featuring demos and details about each new JSR
Live Chat with Java Experts
- Hour-long chats on the following topics:
- Scalable, Dynamic HTML 5
- Increasing Productivity
- Meeting Enterprise Demands
More information here
09 maio 2013
The Java EE 6 - Using Scopes
Using Scopes
For a web application to use a bean that injects another bean class, the bean needs to be able to hold state over the duration of the user’s interaction with the application. The way to define this state is to give the bean a scope. You can give an object any of the scopes described in following table, depending on how you are using it.
Scope
|
Annotation
|
Duration
|
|---|---|---|
Request
|
@RequestScoped
|
A user’s interaction with a web application in a single HTTP request.
|
Session
|
@SessionScoped
|
A user’s interaction with a web application across multiple HTTP requests.
|
Application
|
@ApplicationScoped
|
Shared state across all users’ interactions with a web application.
|
Dependent
|
@Dependent
|
The default scope if none is specified; it means that an object exists to serve exactly one client (bean) and has the same lifecycle as that client (bean).
|
Conversation
|
@ConversationScoped
|
A user’s interaction with a JavaServer Faces application, within explicit developer-controlled boundaries that extend the scope across multiple invocations of the JavaServer Faces lifecycle. All long-running conversations are scoped to a particular HTTP servlet session and may not cross session boundaries.
|
The first three scopes are defined by both JSR 299 and the JavaServer Faces API. The last two are defined by JSR 299.
Subscrever:
Mensagens (Atom)


