Is it possible to create a hybrid application with Angularjs as front, and java as backend?

Asked

Viewed 75 times

0

I am new to front programming, mainly in Angularjs. So I come to ask you if it’s possible to create an app, either with Ionic or phonegap, with the angular being front-end and the java back-end without having any incompatibility or anything like that ?

  • 1

    Yes, it is possible

  • Would you have some material to recommend me, some code, or some key word about this procedure ? (Maybe you’re not looking the right way)

  • Yes, your application with Angular can be a Single Page Application (SPA) that will consume an API (Restful for example) that can be done in any server-side language, as with Java Spring for example.

  • 1

    In java you can search for Restful api as mentioned by @Lucascaires, in Angular you look for how to consume this API, I do it with Vuejs and Spring/Kotlin, but the concept is exactly the same

1 answer

2


As stated in the comments: yes, it is possible.


You can create the so-called REST services in the back end whatever it is (Java, . NET and etc) and consume them in the front end whatever framework (Angular, Backbone and etc).

When you create a API Restful, you abstract the technologies for a single protocol of information exchange, making the back-end and the front-end can work freely without worrying about what the other is doing.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.