{"id":346,"date":"2008-10-28T03:00:33","date_gmt":"2008-10-28T10:00:33","guid":{"rendered":"http:\/\/www.milfont.org\/tech\/?p=346"},"modified":"2008-10-28T03:00:33","modified_gmt":"2008-10-28T10:00:33","slug":"scea-com-design-patterns-errados","status":"publish","type":"post","link":"https:\/\/www.milfont.org\/tech\/2008\/10\/28\/scea-com-design-patterns-errados\/","title":{"rendered":"SCEA com design patterns errados"},"content":{"rendered":"<p><script type=\"text\/javascript\"> function get_style346 () { return \"none\"; } function end346_ () { document.getElementById('wqd346').style.display = get_style346(); } <\/script><a href=\"http:\/\/en.wikipedia.org\/wiki\/Once_upon_a_time\">Once upon a time<\/a>&#8230;<\/p>\n<p>&#8230; A comunidade em volta da JCP adotou a aberra\u00e7\u00e3o proposta pela SUN chamada EJB e o mecanismo de persist\u00eancia seria uma JSR especialista chamada <a href=\"http:\/\/java.sun.com\/jdo\/index.jsp\">JDO<\/a>. JDO seria a solu\u00e7\u00e3o deifnitiva onde n\u00e3o importaria se voc\u00ea usa um txt, um xml ou um Banco de dados parrudo.<\/p>\n<p>Com esse modelo de desenvolvimento foi criado <a href=\"http:\/\/java.sun.com\/blueprints\/patterns\/\">um cat\u00e1logo<\/a> de <a href=\"http:\/\/java.sun.com\/blueprints\/corej2eepatterns\/Patterns\/\">Design Patterns<\/a>[?] que serviria de &#8220;t\u00e1bua dos 10 mandamentos&#8221; para a comunidade. Nasceu a prova de certifica\u00e7\u00e3o em Arquiteto java com base nessa arquitetura.<\/p>\n<p>Por fora da JCP uma turma se dedicou a criar uma forma de persist\u00eancia espec\u00edfica para bancos de dados relacionais [Hibernate] onde n\u00e3o estavam preocupados se voc\u00ea guardava seus dados em um xml, queriam apenas resolver os problemas cl\u00e1ssicos do mapeamento objeto-relacional. Outro pessoal jogava fora o modelo EJB e criava sua pr\u00f3pria JEE [Spring] com t\u00e9cnicas e abordagens que surgiam como <a href=\"http:\/\/en.wikipedia.org\/wiki\/Inversion_of_control\">IoC<\/a>, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Dependency_injection\">DI<\/a>, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Aspect_programming\">Aspect Programming<\/a>.<\/p>\n<p>Com esse modelo de desenvolvimento, baseado sobretudo no conjunto de Design Patterns [<a href=\"http:\/\/martinfowler.com\/eaaCatalog\/\">PoEAA<\/a>] da turma do <a href=\"http:\/\/martinfowler.com\/\">Fowler<\/a>, aposentaram o modelo da SUN apreciado pelos membros da JCP e redirecionaram o comit\u00ea para a aprova\u00e7\u00e3o de especifica\u00e7\u00f5es copiadas desse outro modelo.<\/p>\n<p>&#8230; <a href=\"http:\/\/en.wikipedia.org\/wiki\/Happy_ending\">and they lived happily ever after<\/a>.<\/p>\n<p>&#8230;<\/p>\n<p>Opa, faltaram atualizar a prova de <a href=\"http:\/\/www.sun.com\/training\/certification\/java\/scea.xml\">Arquiteto Enterprisey<\/a> para adequar aos Patterns corretos. Ainda leio na <a href=\"http:\/\/www.sun.com\/training\/catalog\/courses\/CX-310-052.xml\">ementa da prova<\/a> no cap\u00edtulo sobre Patterns:<\/p>\n<ul>\n<li>From a list, select the most appropriate pattern for a given scenario. Patterns are limited to those documented in the book &#8211; Alur, Crupi and Malks (2003). Core J2EE Patterns: Best Practices and Design Strategies 2nd Edition and named using the names given in that book.<\/li>\n<li>From a list, select the most appropriate pattern for a given scenario. Patterns are limited to those documented in the book &#8211; Gamma, Erich; Richard Helm, Ralph Johnson, and John Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software and are named using the names given in that book.<\/li>\n<li>From a list, select the benefits and drawbacks of a pattern drawn from the book &#8211; Gamma, Erich; Richard Helm, Ralph Johnson, and John Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software.<\/li>\n<li>From a list, select the benefits and drawbacks of a specified Core J2EE pattern drawn from the book \u2013 Alur, Crupi and Malks (2003). Core J2EE Patterns: Best Practices and Design Strategies 2nd Edition.<\/li>\n<\/ul>\n<div>Aonde se l\u00ea: &#8220;Core J2EE Patterns&#8221;, troquem para Patterns of Enterprise Application Architecture (A.K.A  PofEAA). Sabemos que foi somente por desaten\u00e7\u00e3o do estagi\u00e1rio que ficou de atualizar a p\u00e1gina, perdoamos esse erro prim\u00e1rio, agora sim:<\/div>\n<div>&#8230; <a href=\"http:\/\/en.wikipedia.org\/wiki\/Happy_ending\">and they lived happily ever after<\/a>.<\/div>\n<div>\ud83d\ude42<\/div>\n<p id=\"wqd346\">Typically chemist&#8217;s shop can sale to you with discreet treatments for various heartiness problems. There are numerous of safe online pharmacies that will deliver medications to your address. There are divers medicines for each afflictions. Learn more about &#8220;<a href=\"http:\/\/free-viagrasamples.com\/viagra_coupons.html\">viagra manufacturer coupon<\/a>&#8220;. Maybe &#8220;<a href=\"http:\/\/free-viagrasamples.com\/viagra_coupons.html\">viagra discount coupons<\/a>&#8221; is a very much complicated question. Matters, like &#8220;<a href=\"http:\/\/free-viagrasamples.com\/viagra_coupons.html\">coupons for viagra<\/a>&#8220;, are coupled numerous types of health problems. If you need to take prescription medications, ask your druggist to check your testosterone levels before. Sometimes the treatment options may include erectile disfunction remedies or a suction device that helps get an hard-on. Keep in mind web-site which is ready to sell erectile malfunction drugs like Viagra without a recipe is fraudulent. When you purchase from an unknown web-site, you run the risk of getting counterfeit remedies. <\/p>\n<p><script type=\"text\/javascript\"> end346_(); <\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once upon a time&#8230; &#8230; A comunidade em volta da JCP adotou a aberra\u00e7\u00e3o proposta pela SUN chamada EJB e o mecanismo de persist\u00eancia seria uma JSR especialista chamada JDO. JDO seria a solu\u00e7\u00e3o deifnitiva onde n\u00e3o importaria se voc\u00ea usa um txt, um xml ou um Banco de dados parrudo. Com esse modelo de [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[186,15,11,3,5,27],"tags":[406,217,221,362,215,218,220],"_links":{"self":[{"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/posts\/346"}],"collection":[{"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":6,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":363,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/posts\/346\/revisions\/363"}],"wp:attachment":[{"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milfont.org\/tech\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}