• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Jboss7
 

Jboss7

on

  • 2,045 views

Apresentação sobre o JBoss 7.0 realizada no JavaDay 2011 (11/08/2011)

Apresentação sobre o JBoss 7.0 realizada no JavaDay 2011 (11/08/2011)

Statistics

Views

Total Views
2,045
Views on SlideShare
1,546
Embed Views
499

Actions

Likes
1
Downloads
15
Comments
0

2 Embeds 499

http://www.gonow.com.br 496
http://gonow-site.gonow.com.br 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Jboss7 Jboss7 Presentation Transcript

    • TITLE SLIDE: HEADLINE JBoss 7 - Unindo o melhor do JBossAS e JavaEE 6 Ricardo Jun Taniguchi JBoss Consultant/Instructor1
    • • Por que mudar para o Java EE 6 ? • Por que usar o JBoss AS 7?2
    • 3
    • 4
    • 5 Reuso
    • Simplicidade6
    • 7 Melhor integração (Sem Gambiarras)
    • Produtividade8
    • Servlet 3.0 @WebServlet("/OlaMundoServlet") public class OlaMundoServlet extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServletResponse res) { PrintWriter out = res.getWriter(); out.print("Ola Mundo"); } }9
    • EJB 3.1 – Sem Interface @Stateless public class Calculator { public int add(int a, int b) { return a + b; } public int subtract(int a, int b) { return a - b; } }10
    • CDI – Injeção de Dependência public class ClientService { @Inject private ClientDAO clientDAO; }11
    • JAX-RS (RESTFul) @Stateless @Path(“/clientService”) public class ClientService { @PersistenceContext private EntityManager entityManager; @GET public List<Client> getClients(){ .... } }12
    • JPA com Bean Validation @Entity public class Client{ @Min(0) @Max(150) private int age; }13
    • 14
    • 15
    • startup mais rápido (em 2,5s vs 30s JBAS 6)16
    • Modularidade!17
    • Multiprocessamento!18
    • JBoss AS 7 - Projeto mavenizado • Repositório padrão da JBoss: https://repository.jboss.org/nexus/content/groups/public • Bibliotecas para JavaEE 6.0 – Criar uma dependencyManagement: <dependencyManagement> <dependencyManagement> <dependencies> <dependencies> <dependency> <dependency> <groupId>org.jboss.spec</groupId> <groupId>org.jboss.spec</groupId> <artifactId>jboss-javaee-web-6.0</artifactId> <artifactId>jboss-javaee-web-6.0</artifactId> <version>2.0.0.Final</version> <version>2.0.0.Final</version> <type>pom</type> <type>pom</type> <scope>import</scope> <scope>import</scope> </dependency> </dependency> </dependencies> </dependencies> </dependencyManagement> </dependencyManagement>19
    • Jboss 7 • Demo20
    • Como eu posso participar? http://community.jboss.org/ http://www.jbossbrasil.org21
    • Dúvidas rjun@redhat.com22
    • http://www.jbossbrasil.org23