• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

JEE 8 Design Patterns and best practices

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joao and Rhuan. First of all congrats and thanks for this book, I think it covers an important topic in times of Java EE project  migration from Oracle to Jakarta.

What I'd like to ask you about the book is as follows:

1 Desing Patterns you explain are common known Object Oriented Design Patterns applied in the context of Java EE 8 applications and services development or they're specific entreprise design Patterns and the way you can implement them using Java EE 8 features and tools?

2. Best Practices  you expose in the book are only about Java EE 8 projects coding, project structure and manteinability or they're also related to topics like deploying, performance and tuning for applications and services?

Thanks in advance for your answers and for delivering this valuable resource for Java EE Developers like me.

Regards
Esteban Suárez
 
Author
Posts: 13
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Esteban Suarez,

Thank you for question!

1) We covered an overview about design patterns on the first chapter. Throughout of book we explained about enterprise patterns, reactive patterns and the best practices of uses of current techniques in Java EE 8, like reactive programming and aspect-oriented programming. The implementation os some enterprise patterns uses some design patterns and we covered that. I think the topic about reactive patterns and aspect-oriented programming are very important to understand now, because I guess with this migration from Java EE to Jakarta EE we will have many evolution about these techniques in the future.

2) In this book we explained about deployment patterns and performance and monitoring on the topic of operational patterns. This topic is interesting because we covered a new view about some kind of patterns that acts on high level.

I will post some contents about that on my site as a overview. Access my site and follow me.

Site: Jakarta EE with Coffee

Regards,
Rhuan Rocha
 
Esteban Suarez
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your answers Rhuan, what you've told me in them sounds very interesting. I'm new in topics like reactive Patterns antes AOP and I'd be great to learn  how JEE spec is including them.  I've just added my e-mail to your site's mail list to stay on tune.

Regards
Esteban Suárez
 
Rhuan Rocha
Author
Posts: 13
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Esteban Suarez,

Thank you for question again. I'm happy for help you.

To reactive programming using Java EE 8 you can see the Event in CDI and to AOP you can see CDI Interceptor and EJB Interceptor. In my book you will see topics about that and can increase your knowledge about these techniques.


Regards,
Rhuan Rocha
 
Author
Posts: 3
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

1) Hi Esteban.It is a great question. And the answer to your question is: both approaches are correct. In the book, the original object oriented patterns and its adaptations for the Java EE 8 context have been shown, such as for example The Session Façade Pattern and the GoF Facade. Anothe example we can see is the Aspect Design Pattern, where we show the implementation of the Decorator Pattern in the Java EE context.
On the other hand, we put in the book new concepts and patterns used to follow the evolution of systems development, such as Microservice pattern used for the functional decomposition of an application.

2) Another good question, Esteban. Again, both things. We discuss how the use of patterns provides  code reuse, low coupling, and improves system maintenance (The chapter on business pattern is an excellent example of this). But you will see throughout the book, the advantages and disadvantages of using some patterns in the development of an application. We also show you how to apply certain patterns to improve the deployment (for example Microservice pattern) and performance. In the cloud native application pattern, for example, we show the use of methodologies and care when developing a cloud application (Where service instances are always being created and destroyed).

Best Regards!
 
Esteban Suarez
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your answers guys, it seems that JEE 8 it's good starting point to implement modern entreprise Patterns and best Practices using the standard framework and the future of the spec looks promissory. I really like to work with Java EE. And I can see you provide a lot of interesting topics in your book, so I'll stay on tune.

Best Regards
Esteban Suárez
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic