Giter Site home page Giter Site logo

jretty-server's Introduction

jretty-server

run Java war/jar on Android system! !!!

一个Android版本的Java Container(类似于Tomcat),能够让原生Android系统直接运行jar/war项目!!!!

该项目一直在维护,it is a long-term maintenance project, and tested from Android 4. x to the latest Android 13.

核心技术原理(一)

  • 1、将classes编译为 Android JVM(Dalvik/ART)的字节码文件(Java Source->.class->.dex)
  • 2、实现基于Android JVM的classloader(类似于通过tomcat的Catalina ClassLoader)

这样就能够运行简单Java程序了,但是要运行项目工程,还远远不够,因为类属于Spring/Struts/Mybatis等等框架的功能,没有考虑过在Android JVM上运行,所以得基于框架层面改造。

但是,要改造Spring这样复杂的框架,工作量太大了,所以,要在原生Android系统上运行Spring只是个理想、并不现实。

核心技术原理(二)

  • 1、基于ZolltyMVC运行中小型Java工程项目,ZolltyMVC是一个轻量级MVC框架,麻雀虽小、五脏俱全,其1.7版本已经支持运行在jretty-server上!

jretty-server's People

Contributors

zollty avatar

Stargazers

MIS2000 Lab. avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

zollty markdashi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.