问题描述
我可以在JAVA的帮助下将基于AngularJS的应用程序连接到Oracle数据库吗?我正在使用JAVA作为后端,因此需要将AngularJS代码连接到oracle中的数据库,并且我正在使用sql开发人员来访问数据.
Can I connect my AngularJS based application to Oracle database with the help of JAVA?I am using JAVA for backend, so need to connect AngularJS code to Database which is in oracle and I am using sql developer to access data.
推荐答案
正如其他人提到的,可以.Angular依靠RESTful Web服务来请求和存储数据.您可以使用 Spring框架创建RESTful Web服务,并通过POST/GET调用可以发送数据和检索数据.您需要具有RESTful Web服务.您可以说Angular需要RESTful Web服务.
As mentioned by others, yes you can.Angular relies on RESTful Web services for requesting and storing data. You can use the Spring Framework to create RESTful web services and through the POST/GET calls you can send data and retrieve data. You need to have a RESTful web service. You can say that Angular needs RESTful Web Service.
这确实是Angular JS的美丽所在.RESTful WEB服务的实现取决于您.它可以在任何技术堆栈中.
That's really is the beauty of Angular JS. Implemention of RESTful WEB Service depends on you. It can be in any technology stack.
这篇关于Java中的AngularJS和数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!