Pular para o conteúdo principal

Postagens

Mostrando postagens de junho, 2013

Another JavaFX CRUD: The server side

In my last post I briefly showed a project that was supposed to be a small project to test Afterburner.fx. It is basically a CRUD application, but it uses REST to access a JEE application installed in JBoss AS 7 ( renamed as Wildfly ). In this post we will show the server side and how JEE 6 makes easier creating robust enterprise applications. It's required at least basic knowledge in JEE. Architecture  I won't go further on this subject since Hendrik Ebbers did a great job doing this in this post . The following image explains everything: JavaFX communication with the server through a REST interface and it will access the model data using a Business Layer . The difference is that we won't have a JSF layer at the moment and we will have a Service Layer , which is equivalent to the Business Layer . Understood this part, we will now talk about code! The application model Everything starts with a model that is the class that reflects the business of your applic...