Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo cloud

JavaEE, JavaFX and RFID - Part 3: REST API and Security (+ Openshift)

Continuing our series of post about RFID and JavaFX, we are going to show today how to we expose the application database using a REST interface and how we secure it. Part 1: The Application Part 2: Reading RFID from Java   Part 3: REST API and Security Part 4: The Client For this part, we will use Wildfly(The JBoss community application server) and we will deploy a REST application to it that access our database.   Why REST? RESTful APIs allow us to access information in a stateless manner. It also allow us to access this information in a remote centralized way, so any application can access it. RESTful APIs also makes easy to integrate your system. In our blog post we are talking about a simple and small application, now imagine we have a big database of employees or products that we wants to integrate with a RFID system and we want to add thousands of data to our RFID system. It's much easier when the system is exposed using REST.   REST and Java R...