java - Good Mobile and Desktop Architecture -
java - Good Mobile and Desktop Architecture -
this question extension of 1 made in http://stackoverflow.com/questions/3782849/best-solution-architecture, want know best architecture deal solutions both desktop , mobile applications involved. in time know, if decided go on java technologies, how can build solution in order reuse much code possible.
solutions must run on windows,linux , mac machines ( know using java , swing tech business , gui respectively , can accomplish requeriment). problem comes when decided incorporate android os mobile capability of our solutions, how can reuse code written desktop application ? how can expose business class service when trying avoid web or application servers installations ?. possible archive soa avoiding web o application server ? best developing techniques in order reuse much code possible ?.
if guy has documention or comments point me in right direction solve problem i'd appriciate it.
if trying avoid hosting web server code running on suggest creating old fashion jar library.
keep user interface code out of jar , programme business logic api. code in j2se 1.5, create sure test both on desktop , mobile environments. can utilize business-logic jar file when time create finish desktop app , android app.
for info on using jar files in android should help: http://stackoverflow.com/questions/3217643/how-to-add-external-jar-libraries-to-an-android-project-from-the-command-line
for info on jar files in general , desktop applications read more here: http://java.sun.com/developer/books/javaprogramming/jar/basics/
java android architecture mobile projects-and-solutions
Comments
Post a Comment