Java – what is a good combination of tools currently used to implement rest / J2EE / database custom authentication

I just want to know what is the good combination of tools / frameworks / libraries for implementing rest API on J2EE at the current point in time. It is integrated into the back-end RDB and authenticated with openid

What I want to implement is a server component that provides a set of services, all of which will use openid authentication, and the services will retrieve or update information from the back-end relational database environment

I am interested in:

* application server options available (e.g. Tomcat,Glassfish etc.)
* IDE's (e.g. Eclipse,Netbeans,IntelliJ etc.)
* additional components useful for implementing REST (and JSON payloads)
* what is best practice/good technique/options available for database integration from the services (hibernate via spring,hibernate directly,raw jdbc connections ... )
* for integrating authentication via OpenID - what is an appropriate integration point for any custom authentication mechanism within the J2EE environment - are there any commonly used solutions/plug-ins available for OpenId etc.

And any pointers to good, current tutorials, books, etc

Editor: Unfortunately, I don't have much time to study the results of this problem, as I like

At this stage, I found that using Jersey to install / set up rest is very fast. I believe I can use containerrequestfilter to provide openid support according to this article: http://plaincode.blogspot.com/2011/07/openid-authentication-example-in-jersey.html

I plan to use openid 4 Java for openid support and pape extension to get the email address returned by the user I don't need OAuth because I don't need to access any other openid details or information on its openid website from my server application

I've seen the latest spring. It looks very good. If I need to build a web client with my solution or have more time to view them, I'll easily prefer this

Thank you for your good answer and reply. It's difficult to find a correct answer I have accepted Yves's answer because it is correct. My current way is to conduct correct research in the least time, but I gave a reward for the answer because it is also correct, and he replied with more information and reasons

Solution

Make it simple and modern (spring is neither one nor another for restful web services):

>Jersey – jax-rs reference – defines resources and supports OAuth; Its code is compact, easy to use and insert into the library (back end, etc.)

Take a look at this project on GitHub, which generates JSON from static data Its web XML and productresource are good places to start

>Every server can do this. Jetty is my favorite. Tomcat, standard > the choice of IDE depends on you. The three you provide are great and are perfectly integrated with Maven and source code control tools I'm used to using eclipse

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>