Master Your Scripting Skills with the New Tutorial!
- Get started
- Guest language "Hello World!"
- It's a polyglot world
- Add a language
- Cast Array to List
- Call guest language functions from Java
- Call multiple guest language functions with shared state from Java
- Access guest language classes from Java
- Access guest language data structures from Java
- Access Java from guest languages
Read more in the online tutorial.
Apache NetBeans and Java EE Productivity in Burkina Faso
Last Saturday (June 30, 2018) I was invited to COFAN (Conférence au Faso sur le Numérique) to present tips for building enterprise Java applications. COFAN is a conference divided into multiple sessions on a variety of technologies. It was started last year and the second tour has been taking place since May and it is sponsored by the government of Burkina Faso.
I was given the opportunity to talk about enterprise Java in general and to show how NetBeans can be a great tool to develop strong and professional Java enterprise applications.
A room filled with an attentive audience was very enthusiastic. They were also satisfied by the answers to their questions, while some decided to continue using NetBeans, with others promising to start working with it for the first time!
Pictures of the event are below:
Posted at 09:13PM Jul 03, 2018 by Constantin Drabo in Technology | |
New Apache NetBeans (incubating) Logo!
After a discussion and voting process on the Apache NetBeans (incubating) dev and user mailing lists... we have a new logo! Here it is:
Posted at 12:59PM Mar 06, 2018 by Geertjan in Technology | |
The case of the different jsch 0.1.54 binaries
As part of the Apache NetBeans IP clearance we are combing through all the code and dependencies.
One interesting thing we bumped into was that the jsch 0.1.54 binary JAR we are using has a different hash (and size) than the binary JAR from Maven Central.
The old hash is 0D7D8ABA0D11E8CD2F775F47CD3A6CFBF2837DA4, the new one is DA3584329A263616E277E15462B387ADDD1B208D.
The binaries are 278,612 bytes vs 280,515 bytes in Maven Central.
Our version is actually the same as the one found on http://www.jcraft.com/jsch/
Also, the Maven JAR is properly signed with the author's CA7FA1F0 key.
This is where it becomes clear that reproducible builds are important. You do not want to have to wonder why a binary differs, especially years later when you are doing a review. And this one is a library doing SSH!
So, why the different binaries?
It seems the original JAR was compiled on Aug 30, 2016 with Java 1.4 (major version 48) while the Maven Central JAR was compiled Sep 3, 2016 with Java 5 (major version 49).
The original JAR also concatenates strings using
StringBuffer while the Maven Central JAR uses the newly introduced in 1.5
StringBuilder. Which should also be a bit faster since it's not synchronized.
Next, most of the cypher classes use some reflection via a
static java.lang.Class class$(java.lang.String) method.
What is this? It's just the way class literals worked in Java 1.4. As explained here, in Java 5 the
ldc_w instruction was introduced to load a
In 1.4 the class literal was helped by the compiler by actually introducing the helper
Class class$(java.lang.String className) method and replacing the
Person.class with a
It conclusion, it seems that excluding the Java 1.4 to Java 5 compiler changes, the two JARs are identical. With the Maven Central JAR even a bit better due to
StringBuilder being used.
There is no check so far that the sources do produce the specific JAR. This is an exercise left for the reader.
Posted at 01:17PM Oct 04, 2017 by Emilian Bold in Technology | |
NetBeans Status Interview at JavaOne 2017
Watch this quick interview to learn about the status of the process at Apache NetBeans (incubating):
Click the pic above or go here to see the interview: https://www.youtube.com/watch?v=o5qDm0yS8mc
Posted at 12:22PM Oct 03, 2017 by Geertjan in Technology | |
Introducing the Apache NetBeans Blog
Here, at last, is a community space for everyone working on Apache NetBeans, currently incubating, to post blogs.
I imagine this will be a place where we can announce new releases of Apache NetBeans, while it will also be a place for everyone to share their experiences and make all kinds of other announcements.
For example, did you know there's already an application created on top of Apache NetBeans? It is called YaMeter, read about it here.
Happy blogging everyone, at the brand new Apache NetBeans (incubating) blog.
Posted at 09:37PM Sep 30, 2017 by Geertjan in Technology | |