-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathoverview.html
More file actions
59 lines (58 loc) · 17.3 KB
/
Copy pathoverview.html
File metadata and controls
59 lines (58 loc) · 17.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-overview" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.1.0">
<title data-rh="true">ActiveJ | Platform Overview | ActiveJ 6.0</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://activej.io/img/preview.png"><meta data-rh="true" name="twitter:image" content="https://activej.io/img/preview.png"><meta data-rh="true" property="og:url" content="https://activej.io/overview"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="ActiveJ | Platform Overview | ActiveJ 6.0"><meta data-rh="true" name="description" content="With ActiveJ you can create web applications extremely fast and simply, which may resemble Node.js approach."><meta data-rh="true" property="og:description" content="With ActiveJ you can create web applications extremely fast and simply, which may resemble Node.js approach."><meta data-rh="true" name="keywords" content="java,java framework,spring alternative,netty alternative,jetty alternative,nodejs alternative,guice alternative,asynchronous,eventloop,java nio,embedded http,java http server,java http client,high load,streams,serializers,http,code generation,crdt"><link data-rh="true" rel="icon" href="/./img/favicon.png"><link data-rh="true" rel="canonical" href="https://activej.io/overview"><link data-rh="true" rel="alternate" href="https://activej.io/overview" hreflang="en"><link data-rh="true" rel="alternate" href="https://activej.io/overview" hreflang="x-default"><link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="ActiveJ 6.0 RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="ActiveJ 6.0 Atom Feed">
<link rel="preconnect" href="https://www.google-analytics.com">
<link rel="preconnect" href="https://www.googletagmanager.com">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176574648-1"></script>
<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","UA-176574648-1",{})</script><link rel="stylesheet" href="/assets/css/styles.1e996682.css">
<script src="/assets/js/runtime~main.f160d44c.js" defer="defer"></script>
<script src="/assets/js/main.7305c132.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"dark")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/./img/logo.webp" alt="Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/./img/logo.webp" alt="Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">ActiveJ</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/overview">Docs</a><a class="navbar__item navbar__link" href="/tutorials/getting-started">Tutorials</a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/blog">Blog</a><a href="https://github.com/activej/activej" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently dark mode)" aria-label="Switch between dark and light mode (currently dark mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div class="docsWrapper_hBAB"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docRoot_UBD9"><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class="sidebarViewport_aRkj"><div class="sidebar_njMd"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/overview">Overview</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/async-io/eventloop">Async I/O</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/boot/launcher">Boot</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/http">HTTP</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/inject">Inject</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/codegen">Codegen</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/serializer">Serializer</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/specializer">Specializer</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/rpc">RPC</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/fs">FS</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/misc/bytebuf">Misc</a></div></li></ul></nav></div></div></aside><main class="docMainContainer_TBSr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Overview</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><h1>Introduction</h1>
<p>ActiveJ is a set of orthogonal minimalist libraries, with as few dependencies as possible with respect to each other,
that can be used together or separately. This was the design goal - not to develop yet another framework that would
force the user to use it on an all-or-nothing basis, but instead to give the user as much freedom as possible in terms
of choosing library components.</p>
<p>ActiveJ consists of a range of libraries, ranging from dependency injection and high-performance asynchronous I/O
(inspired by Node.js) to application servers and big data solutions. It is designed to be self-sufficient
(with no third-party dependencies), simple, lightweight, and provide competitive performance.</p>
<p>You can utilize ActiveJ to build scalable web applications, distributed systems, and deploy it for high-load
data processing.</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="core-features">Core Features<a href="#core-features" class="hash-link" aria-label="Direct link to Core Features" title="Direct link to Core Features"></a></h2>
<p>The distinguishing features of ActiveJ are simplicity, high performance, and consistency.
As a result, it is fast, lightweight, and does not contain tons of abstractions and third-party dependencies. Moreover, ActiveJ offers a simple
programming approach, prioritizing business logic over framework specifications.</p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="core-components">Core components:<a href="#core-components" class="hash-link" aria-label="Direct link to Core components:" title="Direct link to Core components:"></a></h3>
<ul>
<li><a href="/inject">ActiveJ Inject</a>. A lightweight Dependency Injection library with a rich toolkit. Can be used
as a stand-alone library.</li>
<li>Async I/O core: <a href="/async-io/promise"><code>Promise</code></a>, <a href="/async-io/eventloop"><code>Eventloop</code></a>, <a href="/async-io/net"><code>Net</code></a>.</li>
<li>Fast asynchronous data stream processing: <a href="/async-io/datastream"><code>Datastream</code></a>, <a href="/async-io/csp"><code>CSP</code></a>.</li>
<li>High-performance <a href="/http">HTTP</a> components including asynchronous HTTP clients and servers. Can be used independently of ActiveJ.</li>
<li>Bootstrapping and lifecycle management utils: <a href="/boot/launcher"><code>Launcher</code></a>, <a href="/boot/servicegraph"><code>Service Graph</code></a>, JMX, Triggers.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="bytecode-manipulation-tools">Bytecode manipulation tools:<a href="#bytecode-manipulation-tools" class="hash-link" aria-label="Direct link to Bytecode manipulation tools:" title="Direct link to Bytecode manipulation tools:"></a></h3>
<ul>
<li><a href="/serializer"><strong>ActiveJ Serializer</strong></a> - <a href="https://github.com/activej/jvm-serializers" target="_blank" rel="noopener noreferrer">the world’s fastest JVM-based serializer</a> with bytecode generation at runtime.</li>
<li><a href="/codegen"><strong>ActiveJ Codegen</strong></a> - dynamic bytecode generator without the complexity of direct bytecode
manipulation. Features a streamlined and concise API.</li>
<li><a href="/specializer"><strong>ActiveJ Specializer</strong></a> - a unique technology that automagically speeds up
your code significantly by optimizing it for the JVM.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="cluster-technologies">Cluster technologies:<a href="#cluster-technologies" class="hash-link" aria-label="Direct link to Cluster technologies:" title="Direct link to Cluster technologies:"></a></h3>
<ul>
<li><a href="/rpc"><strong>ActiveJ RPC</strong></a> - high-performance binary protocol for developing distributed applications and
microservices solutions</li>
<li><a href="/fs"><strong>ActiveJ FS</strong></a> - provides effective tools for developing scalable local or remote file storages with
a support of data redundancy, rebalancing, and resharding.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="activej-background">ActiveJ Background<a href="#activej-background" class="hash-link" aria-label="Direct link to ActiveJ Background" title="Direct link to ActiveJ Background"></a></h2>
<p>The ActiveJ project is an improved version of the DataKernel framework. Since the release of v3.0, it has been greatly improved and
restructured.</p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--next" href="/async-io/eventloop"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Eventloop</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#core-features" class="table-of-contents__link toc-highlight">Core Features</a><ul><li><a href="#core-components" class="table-of-contents__link toc-highlight">Core components:</a></li><li><a href="#bytecode-manipulation-tools" class="table-of-contents__link toc-highlight">Bytecode manipulation tools:</a></li><li><a href="#cluster-technologies" class="table-of-contents__link toc-highlight">Cluster technologies:</a></li></ul></li><li><a href="#activej-background" class="table-of-contents__link toc-highlight">ActiveJ Background</a></li></ul></div></div></div></div></main></div></div></div><footer class="footer"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 ActiveJ LLC. All Rights Reserved</div></div></div></footer></div>
</body>
</html>