java - Scala, Spring or Hadoop as an Api service? -
i starting new java application - , current code base taking on - appears have been built jetty , writing out html markup directly servlet itself.
package root.web; import javax.servlet.http.httpservletrequest; import javax.servlet.http.httpservletresponse; public class html { public static string gethead(int pin,boolean due, string fname, string lname){ string head = ""; head += "<!doctype html>"; head += " <html>"; head += " <head>";
i interested in re-building application using scala, spring or hadoop - keen discuss links, tutorials develop quick , secure api. "login system" user filling in forms - , having data these forms stored in mysql table , displayed charts/tables/lists.
so keen build frontend using reactjs - , have java application provide api service.
-- login service -- forgot password, session handling, account changes - crud of sorts
-- user fill in set of forms -- , getdata of results specific logged in user
please advise, code samples, tutorials, links. predict easier/quicker , more secure start fresh scala, spring or hadoop project , use query builders - secure db -- if mysql or mongodb should used , if makes of difference in case, creating json api service, crud application login handling?
hadoop unsuitable task. it's distributed storage / compute platform, similar google's mapreduce or amazon's emr -- has nothing web development, api.
if want write web application, need web application framework. hadoop not that.
wiki
Comments
Post a Comment