John,
Seems like our projects have slightly different scope, but at the same
time they'll definitely have much in common. We currently focus on
JavaEE for our backend development, and radical paradigm change is
unlikely in foreseeable future.
The key points of the forthcoming project will be:
- JSR-223 support, with Nashorn in mind first;
- CDI injection for scripts: @Inject, @Persistense{Context,Unit},
@Resource, @EJB;
- script execution: programmatic, manual/interactive, scheduled, on CDI
event;
- interfaces: Java API, REST, GUI (a la Playground, most probably also
qooxdoo+Ace.js based);
- script libraries: bundled with application (r/o) and user (r/w),
managed with the same APIs.
Problems solved:
- experiment with real-world data, run JPQL queries live, make
development more agile;
- implement fluid logic pattern, adjust business logic without
recompilation and redeployment;
- do maintenance tasks and some simple analytic in real time.
As you see, this will be mainly a productivity tool for JavaEE
developers, while your development (if I got it right) presumes
completely new qooxdoo-with-Node-on-top-of-Nashorn solution.
However, I can already see some common points. Seems like CDI
injections could be topical for you, too; at the same time, it's the
most non-trivial tasks of the above. I would gladly continue the
discussion, but I'm afraid we'll further pollute the ML. In particular,
I wanted to know your opinion (as an experienced server-side JS user)
on how to attach metadata to scripts (external file or embedded @-
annotations).
Dimitri
P.S. Have you heard of WildFly's Undertow.js project? It's not exactly
what either you or me are looking for, but we can borrow some ideas
from it.
> > 
> > 
> > Slightly offtopic: did you try Nashorn with your server-side?
> > Should be
> > much faster and feature-rich. Besides, we are planning an
> > opensource
> > project - JavaScript console for JavaEE with qooxdoo frontend a la
> > Playground. It would allow to author/run/manage server-side
> > scripts,
> > with support for CDI injections, scheduled execution, user/system
> > script library etc. I'd like to ask you (and everyone else here) to
> > let
> > me know if you're interested.
> Yes, I am - I want to move my server platform in that direction, so
> that I can modify code on the production server on the fly, but it’s
> quite a large development and not going to be capable of being split
> off into open source any time soon.  
> 
> Long term I want to move to more javascript on the server, and this
> could be node.js based but doing that would require a complete
> redevelopment of my server architecture; so an alternative might be
> to switch to Nashorn and run the node.js API on top of Nashorn.  This
> would be particularly cool if that meant that the core platform could
> run either in native node.js or be embedded with Java, because then
> there are two major types of users the project would appeal to.
> 
> IMHO there are a lots of benefits to this approach, eg having the
> Javascript architecture based on Qooxdoo will bring OO maturity that
> Java devs will appreciate, JS devs will be able to do end-to-end JS
> in ES6, and JavaEE devs will be able to add rapid scripting to their
> enterprise platform :)  Not to mention that asynchronous everything
> is an extremely scalable architecture, something that Java has
> traditionally been poor on.
> 
> One of the limitations that QxCompiler will solve is high speed
> incremental compilations and the ability to detect when the server
> needs to reload it’s VM so it’s a deliberate first step in this
> direction.
> 
> What do you think?  Lets keep chatting about it, how far along are
> your plans?
> 
> John
> 
> 
> 
> -------------------------------------------------------------------
> -----------
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to