I’ve got the current Lucee 5.3 java source from github able to build with ant and the patch works when I run it in a real server. Thank you very much for making it easy for us to participate with the Java on all the recent Lucee 5 versions.
I was hoping for a little internal knowledge about the current github Lucee 5.3 branch.
Is there a hidden way to allow me to execute the loader Main.java class or some other class directly in the eclipse or intellij run configuration? In older versions of Lucee, there was a way to do this. When I open .project, it seems to be a broken environment in eclipse in both 5.0.x and 5.3. Maybe you guys gave up on having a way to execute and debug the java, but that seems like it would be more time consuming to develop that way. IntelliJ seems way more efficient to work with compared to eclipse. At the moment, it seems best to use ant and IntelliJ to modify Lucee if I can’t get better information about an eclipse project that already works perhaps.
Additionally, I was curious if it is possible to directly access CFML data types from the Java and call CFML objects via some class in the Java project? I wanted to make lex extensions for Lucee language (which looks easy), and also have Java make direct changes to the application scope and other things potentially (which is undocumented but probably doable with just reading the Java).
I was also curious if Lucee could be made to function without servlet technology, and just run as a CLI application or integrated with a different server method like AKKA HTTP, etc. I was thinking of exploring other ways of request pooling to see how that scales under load and trying other libraries for things. It looked like only a few hundred references to javax servlet are in the code, so it’s kind of a medium difficult change I could do perhaps.
I already look beyond the Adobe product by implementing Lucee exclusive features for years. I’d like to take more ownership of how we use the language in the future. I’ll probably open source some things that may help others in CFML community.
My first project is related to asynchronous queries and my security approach where I treat unescaped sql literals as exceptions. I may do the same for http after that. I already made a simple protoype in CFML for the new CFML BIFs, but I want pure Java speed with a hikaricp connection pool that is separate from Lucee’s to give even more control to CFML for managing concurrency. I was able to get it working pretty quick on both CFML and Java, so it seems like it will happen in another week or two if I focus on this. Plugging the result back into native CFML object is the next step I was going to explore, I’d appreciate any guidance in this area.