Nectar Framework
a simple and stupidly fast web application framework for massively scalable applications

What is Nectar Framework?

Nectar Framework is a Web Applications Framework written in Java. It is based on Model-View-Controller push-based architecture, and it's core services include an HTTP Server, a MySQL database connector, a data scaffolding / abstraction layer, a caching service, a thread management service. It is designed to be both strict and light-weight, which allows for great performance and scalability.

PathFinderService to replace Directory, and a new HTTP Service.
19 Jul 2016 02:17 by schuttek
DirectoryService was getting overgrown, and no longer adequate.
 
So I converted a lot of the relevant stuff to the new PathFinderService, and fixed a lot of things in how it's config file works. pathConfig.xml looks a little different, and now support virtual hosts, HTTP redirects, etc.
 
In the process, Simple HTTP's API was too complex... I went even more basic, and took in NanoHTTPD... which I aggressively rewrote.
  So we're well on the way to the roadmap to 0.0.5, while having skipped a few steps in between... :(
New TemplateService!
14 Jul 2016 19:13 by schuttek
A new experimental TemplateService is out! It will hopefully eventually replace XSLT and Thymeleaf, which I always found to be pretty slow.
 
This new TemplateService actually converts an HTML template into a Java class that is compiled before server startup. The execution time is almost trivial, since all the class does at run time is traverse the action output Element and print some strings to an ByteArrayOutputStream. First tests show an execution of under 200 microseconds, so 1000x faster than Thymeleaf, and 300x faster than XSLT.
 
The current TemplateService is only very basic at the moment, but it will be fleshed out over time.
Finally something published
7 Jul 2016 19:51 by schuttek
It took 12 years since the last time I've published a version of Nectar. The original is still on Sourceforge.
 
Hopefully there will be more to come, especially on the Documentation side of things, which is currently mostly a messy construction site.