Warning: Trying to access array offset on value of type bool in /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php on line 16

Warning: Trying to access array offset on value of type bool in /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php on line 16

Warning: Trying to access array offset on value of type bool in /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/feltexco/public_html/felix/wp-content/plugins/google-maps-ready/modules/options/models/options.php:16) in /home/feltexco/public_html/felix/wp-includes/rest-api/class-wp-rest-server.php on line 1758
{"id":540,"date":"2014-04-07T17:37:14","date_gmt":"2014-04-07T20:37:14","guid":{"rendered":"http:\/\/www.feltex.com.br\/felix\/?p=540"},"modified":"2014-11-17T11:37:23","modified_gmt":"2014-11-17T13:37:23","slug":"exemplo-completo-com-jsf-ejb-hibernate-mysql","status":"publish","type":"post","link":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/","title":{"rendered":"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL"},"content":{"rendered":"

Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL<\/H1><\/p>\n

Ol\u00e1 Amigos,<\/p>\n

Hoje criaremos um projeto completo com as tecnologias java: JSF (Primefaces) + EJB + Hibernate + MySQL.
\nE como de costume iniciaremos com uma breve descri\u00e7\u00e3o de cada uma delas.
\n Vamos utilizar o nosso sistema acad\u00eamico chamado de AcademicNet para aplicar os conceitos.<\/p>\n

Tecnologias utilizadas no exemplo<\/H2><\/p>\n
  • JSF (Java Serer Faces) \u00e9 a tecnologia Java para constru\u00e7\u00e3o de p\u00e1ginas din\u00e2micas. <\/li>\n
  • Primefaces \u00e9 uma biblioteca de componentes para RIA – Rich Internet Application. O que torna os sistemas com uma interface mais amig\u00e1vel para os usu\u00e1rios.<\/li>\n
  • EJB (Enterprise java Beans) \u00e9 a tecnologia Java Core para componentes corporativos <\/li>\n
  • Hibernate framework \u00e9 um framework para o mapeamento objeto-relacional. Facilita o mapeamento dos atributos entre um Banco de dados Relacional e o modelo de objetos de uma aplica\u00e7\u00e3o. <\/li>\n
  • MySQL – Banco de dados Relacional muito utilizado no mundo corporativo.\n<\/li>\n

    <\/p>\n

    Este sistema \u00e9 um complemento do projeto AcademicNet que j\u00e1 tem outras vers\u00f5es mais simples. Verifique o link: Projetos completos<\/a>
    \n Aqui vamos discutir a chamada do EJB atrav\u00e9s de um ManagedBean com a annotation @EJB. E como \u00e9 executada a configura\u00e7\u00e3o de Banco de dados via Data Source no Servidor.<\/p>\n

    Links relacionados<\/h2>\n

    Recomendo que leia:Projeto EJB<\/a><\/p>\n

    Leia tamb\u00e9m: MySQL X PostgreSQL<\/a><\/p>\n

    Voc\u00ea ir\u00e1 gostar:EJB 3<\/a><\/p>\n

    Acesse tamb\u00e9m: WildFly configurado para acesso a Dados<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

    Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL Ol\u00e1 Amigos, Hoje criaremos um projeto completo com as tecnologias java: JSF (Primefaces) + EJB + Hibernate + MySQL. E como de costume iniciaremos com uma breve descri\u00e7\u00e3o de …<\/p>\n

    Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL<\/span> Read More »<\/a><\/p>\n

    <\/p>\n","protected":false},"author":1,"featured_media":1602,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[1],"tags":[],"yoast_head":"\nProjeto JSF Primefaces + EJB + Hibernate + MySQL<\/title>\n<meta name=\"description\" content=\"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Projeto JSF Primefaces + EJB + Hibernate + MySQL\" \/>\n<meta property=\"og:description\" content=\"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"Aprenda Java\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/feltex.br\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-07T20:37:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-11-17T13:37:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andr\u00e9 F\u00e9lix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/#website\",\"url\":\"https:\/\/www.feltex.com.br\/felix\/\",\"name\":\"Aprenda Java\",\"description\":\"Cursos de java, SQL e Engenharia de Software\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.feltex.com.br\/felix\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#primaryimage\",\"inLanguage\":\"pt-BR\",\"url\":\"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png\",\"contentUrl\":\"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png\",\"width\":600,\"height\":300,\"caption\":\"JSF Primefaces\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#webpage\",\"url\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/\",\"name\":\"Projeto JSF Primefaces + EJB + Hibernate + MySQL\",\"isPartOf\":{\"@id\":\"https:\/\/www.feltex.com.br\/felix\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#primaryimage\"},\"datePublished\":\"2014-04-07T20:37:14+00:00\",\"dateModified\":\"2014-11-17T13:37:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.feltex.com.br\/felix\/#\/schema\/person\/1e49f842c6254b4561b66ccf573c2069\"},\"description\":\"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL\",\"breadcrumb\":{\"@id\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/#\/schema\/person\/1e49f842c6254b4561b66ccf573c2069\",\"name\":\"Andr\\u00e9 F\\u00e9lix\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.feltex.com.br\/felix\/#personlogo\",\"inLanguage\":\"pt-BR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d2d9cc82cab40245e6f803982b1448e6?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d2d9cc82cab40245e6f803982b1448e6?s=96&r=g\",\"caption\":\"Andr\\u00e9 F\\u00e9lix\"},\"sameAs\":[\"http:\/\/www.feltex.com.br\"],\"url\":\"https:\/\/www.feltex.com.br\/felix\/author\/andre.felix\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Projeto JSF Primefaces + EJB + Hibernate + MySQL","description":"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/","og_locale":"pt_BR","og_type":"article","og_title":"Projeto JSF Primefaces + EJB + Hibernate + MySQL","og_description":"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL","og_url":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/","og_site_name":"Aprenda Java","article_publisher":"https:\/\/www.facebook.com\/feltex.br","article_published_time":"2014-04-07T20:37:14+00:00","article_modified_time":"2014-11-17T13:37:23+00:00","og_image":[{"width":600,"height":300,"url":"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png","type":"image\/png"}],"twitter_misc":{"Escrito por":"Andr\u00e9 F\u00e9lix","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.feltex.com.br\/felix\/#website","url":"https:\/\/www.feltex.com.br\/felix\/","name":"Aprenda Java","description":"Cursos de java, SQL e Engenharia de Software","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.feltex.com.br\/felix\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-BR"},{"@type":"ImageObject","@id":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#primaryimage","inLanguage":"pt-BR","url":"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png","contentUrl":"https:\/\/www.feltex.com.br\/felix\/wp-content\/uploads\/2014\/04\/java-web-development.png","width":600,"height":300,"caption":"JSF Primefaces"},{"@type":"WebPage","@id":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#webpage","url":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/","name":"Projeto JSF Primefaces + EJB + Hibernate + MySQL","isPartOf":{"@id":"https:\/\/www.feltex.com.br\/felix\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#primaryimage"},"datePublished":"2014-04-07T20:37:14+00:00","dateModified":"2014-11-17T13:37:23+00:00","author":{"@id":"https:\/\/www.feltex.com.br\/felix\/#\/schema\/person\/1e49f842c6254b4561b66ccf573c2069"},"description":"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL","breadcrumb":{"@id":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.feltex.com.br\/felix\/exemplo-completo-com-jsf-ejb-hibernate-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Exemplo completo com JSF Primefaces + EJB + Hibernate + MySQL"}]},{"@type":"Person","@id":"https:\/\/www.feltex.com.br\/felix\/#\/schema\/person\/1e49f842c6254b4561b66ccf573c2069","name":"Andr\u00e9 F\u00e9lix","image":{"@type":"ImageObject","@id":"https:\/\/www.feltex.com.br\/felix\/#personlogo","inLanguage":"pt-BR","url":"https:\/\/secure.gravatar.com\/avatar\/d2d9cc82cab40245e6f803982b1448e6?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d2d9cc82cab40245e6f803982b1448e6?s=96&r=g","caption":"Andr\u00e9 F\u00e9lix"},"sameAs":["http:\/\/www.feltex.com.br"],"url":"https:\/\/www.feltex.com.br\/felix\/author\/andre.felix\/"}]}},"_links":{"self":[{"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/posts\/540"}],"collection":[{"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":15,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":1610,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/posts\/540\/revisions\/1610"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/media\/1602"}],"wp:attachment":[{"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.feltex.com.br\/felix\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}