简体   繁体   中英

What is the recommended application layer to use in 3 tier architecture using Java?

So my situation is that I am trying to figure out the best architecture for my system to use, current my project consists of a frontend using the Android SDK, and a MySQL database what I need my application layer to do is make requests to and from a REST api, and to manage a login system with the database.

I've been told that Apache tomcat with a java servlet might be a good approach but I'd like to ask here to see if you guys have any ideas.

This really depends on your requirement. For not so complicated business logic , tomcat which is only a web server may suffice. However , if you have complex business logic , distributed architecture , clustering etc. which may need to support EJB, JMS etc then tomcat will not be sufficient but you will need app server like JBoss , Weblogic etc.

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