简体   繁体   中英

Decoupled architecture approach with dynamic web project eclipse

The eclipse-maven-tomcat project(containing html/css, jquery, javascript ) will make ajax-jquery calls, using exposed web service url's(using json/xml) and interact with database. The database persistence layer and web framework ( spring ), etc, modules are part of another project which exposes web services.

Will using the above mentioned technologies will follow the headless websites/ decoupled architecture ?

Quoting this answer :

A "Headless Architecture" is a buzz phrase in the software development community pertaining generally to web applications describing an approach which splits the code base cleanly between server side (eg REST webs services) code which defines data and business logic from client side (eg JavaScript) code which invokes the logic and renders the data and typically as part of an MVC pattern.

So of course you can implement this using HTML/CSS/JS for the front-end and Spring for backend in separate projects.

Eclipse, Tomcat or Maven are quite orthogonal to the question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM