Giter Site home page Giter Site logo

aspectran / aspectran Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 60.01 MB

Aspectran is a lightweight framework for building high-performance Java applications.

Home Page: https://aspectran.com/en/

License: Apache License 2.0

Java 99.96% Shell 0.03% FreeMarker 0.01% CSS 0.01%
aop aspectran cli command-line di ioc java java-framework pojo restful web-application-framework

aspectran's Introduction

Aspectran - Java application framework

Build Status Coverage Status Maven central Sonatype Nexus (Snapshots) javadoc License

asciicast

Aspectran is a framework for developing Java applications that can be used to build simple shell applications and large enterprise web applications.

The key features of Aspectran are:

  • Support POJO (Plain Old Java Object) programming model
    Developers do not need to know the heavy and complex objects used internally by the framework. They can exchange objects with the framework using simple Java classes.
  • Support Inversion of Control (IoC)
    What's more, the framework manages the creation and lifecycle of objects while controlling the overall flow, freeing developers to focus on their business logic.
  • Support Dependency Injection (DI)
    The framework systematically connects modules that depend on each other at runtime to ensure low coupling between modules and to increase code reusability.
  • Support Aspect-Oriented Programming (AOP)
    The framework combines additional features such as transactions, logging, security, and exception handling with code written by the developer at runtime.
  • Support building RESTful Web Services
    Aspectran is a framework designed from the ground up for REST API implementations and optimized for microservices architectures.
  • Fast development and startup time
    Aspectran's intuitive programming model guarantees fast development time and runs faster than other frameworks.
  • Create Aspectran-powered, production-grade applications
    You can create reliable, standalone Java applications that run on multiple operating systems, and even run them in servlet containers or embed them into other Java applications.

Aspectran-powered applications support the following execution environments on the JVM:

  • Consistent shell interface for command line applications
  • Runs as a background process on Unix-based or Windows operating systems
  • Built-in high performance web application server (Undertow, Jetty)
  • Can also be run as a servlet in a traditional servlet container like Apache Tomcat or WildFly

Aspectran consists of the following major packages:

  • com.aspectran.core
    Package containing the core features of Aspectran
  • com.aspectran.daemon
    Package for running Aspectran-based Java applications as background processes on Unix-based or Windows operating systems
  • com.aspectran.embed
    Package for embedding Aspectran in non-Aspectran-based Java applications
  • com.aspectran.shell
    Package for building interactive shell (aka command line) applications based on Aspectran
  • com.aspectran.shell-jline
    Package for building feature-rich Aspectran-based interactive shell applications leveraging JLine 3
  • com.aspectran.utils
    Miscellaneous utility classes used across multiple packages
  • com.aspectran.web
    Packages required to build Jakarta EE compatible web applications
  • com.aspectran.rss-lettuce
    Package containing a Redis session store implementation leveraging Lettuce as a client
  • com.aspectran.jetty
    Add-on package for using Jetty as the embedded servlet container
  • com.aspectran.undertow
    Add-on package for using Undertow as the embedded servlet container
  • com.aspectran.mybatis
    Add-on package for using the MyBatis SQL mapper framework that makes using relational databases easy
  • com.aspectran.freemarker
    Add-on package for using Freemarker as the templating engine
  • com.aspectran.pebble
    Add-on package for using Pebble as the templating engine

Building

Requirements

  • Maven 3.6.3+ (prefer included maven-wrapper)
  • Java 17+

Check out and build:

git clone git://github.com/aspectran/aspectran.git
cd aspectran
./build rebuild

Running the demo

To run the demo, simply use the following command after having build Aspectran

./build demo

Continuous Integration

Links

Thanks

JetBrains
JetBrains products are very helpful in developing Aspectran.
Thank you for the Open Source License!

License

Aspectran is Open Source software released under the Apache 2.0 license.

aspectran's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar renovate-bot avatar snyk-bot avatar topframe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aspectran's Issues

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

[DepShield] (CVSS 7.5) Vulnerability due to usage of javax.servlet:jstl:1.2

Vulnerabilities

DepShield reports that this application's usage of javax.servlet:jstl:1.2 results in the following vulnerability(s):


Occurrences

javax.servlet:jstl:1.2 is a transitive dependency introduced by the following direct dependency(s):

javax.servlet:jstl:1.2

com.aspectran:aspectran-with-undertow:6.4.1-SNAPSHOT
        └─ javax.servlet:jstl:1.2

com.aspectran:aspectran-with-undertow:6.4.1-SNAPSHOT
        └─ javax.servlet:jstl:1.2

com.aspectran:aspectran-with-undertow:6.4.1-SNAPSHOT
        └─ javax.servlet:jstl:1.2

com.aspectran:aspectran-with-undertow:6.4.1-SNAPSHOT
        └─ javax.servlet:jstl:1.2

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 3.7) Vulnerability due to usage of log4j:log4j:1.2.17

Vulnerabilities

DepShield reports that this application's usage of log4j:log4j:1.2.17 results in the following vulnerability(s):


Occurrences

log4j:log4j:1.2.17 is a transitive dependency introduced by the following direct dependency(s):

log4j:log4j:1.2.17

log4j:log4j:1.2.17

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of com.mchange:c3p0:0.9.5.2

Vulnerabilities

DepShield reports that this application's usage of com.mchange:c3p0:0.9.5.2 results in the following vulnerability(s):


Occurrences

com.mchange:c3p0:0.9.5.2 is a transitive dependency introduced by the following direct dependency(s):

org.quartz-scheduler:quartz:2.3.0
        └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.0
              └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.0
              └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-web:6.0.0-RC6-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.0
                    └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.0
              └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.0
              └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-shell:6.0.0-RC6-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.0
                    └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.0
              └─ com.mchange:c3p0:0.9.5.2

org.quartz-scheduler:quartz:2.3.0
        └─ com.mchange:c3p0:0.9.5.2

com.aspectran:aspectran-daemon:6.0.0-RC6-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC6-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.0
                    └─ com.mchange:c3p0:0.9.5.2

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

[DepShield] (CVSS 7.5) Vulnerability due to usage of com.mchange:c3p0:0.9.5.3

Vulnerabilities

DepShield reports that this application's usage of com.mchange:c3p0:0.9.5.3 results in the following vulnerability(s):


Occurrences

com.mchange:c3p0:0.9.5.3 is a transitive dependency introduced by the following direct dependency(s):

org.quartz-scheduler:quartz:2.3.1
        └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-web:6.0.0-RC19-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.1
                    └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-shell:6.0.0-RC19-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.1
                    └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
        └─ org.quartz-scheduler:quartz:2.3.1
              └─ com.mchange:c3p0:0.9.5.3

org.quartz-scheduler:quartz:2.3.1
        └─ com.mchange:c3p0:0.9.5.3

com.aspectran:aspectran-daemon:6.0.0-RC19-SNAPSHOT
        └─ com.aspectran:aspectran-core:6.0.0-RC19-SNAPSHOT
              └─ org.quartz-scheduler:quartz:2.3.1
                    └─ com.mchange:c3p0:0.9.5.3

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

[DepShield] (CVSS 8.8) Vulnerability due to usage of com.h2database:h2:1.4.197

Vulnerabilities

DepShield reports that this application's usage of com.h2database:h2:1.4.197 results in the following vulnerability(s):

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

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.