About the front-end interface for calling java.

Source: Internet
Author: User
The company does not have php and other background services, but only java. How does front-end work with java? What are the data and interfaces they provide. I only know that php is used to operate databases. It is submitted or presented on the front-end page using ajax. The company does not have php and other background services, but only java. How does front-end work with java? What are the data and interfaces they provide. I only know that php is used to operate databases. It is submitted or presented on the front-end page using ajax.

Reply content:

The company does not have php and other background services, but only java. How does front-end work with java? What are the data and interfaces they provide. I only know that php is used to operate databases. It is submitted or presented on the front-end page using ajax.

Java also has many background frameworks, such as the three major frameworks of SSH. after deployment to the server, the interface call is the same as that of php.

Interface calls are the same as PHP calls. There should be a document. You can follow the document or discuss the interface with you.

Java gives the front-end a path through which the front-end obtains data. It is the same as php, but the language and framework are different.

It has nothing to do with the language used by the backend. You only need to provide interfaces for frontend calls.

No matter what language is written in the background, it must be an http interface. You only need to know the interface url method parameter response, which is enough. It's just like the interfaces you use to connect to the public account are the same. People's documents also give these four things. You can't control the specific language of the people, besides, all languages can be implemented.

Java provides a webservice interface and other addresses. You can use front-end ajax to send requests for access.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.