Thursday Mar 26, 2015

Mobile Boilerplate and NetBeans IDE

It turns out NetBeans IDE has even more powerful tools than you thought...

Wednesday Mar 25, 2015

NetBeans Day Brazil: Monday, June 22, 2015!

During JavaLand, Vinicius and Yara and I decided... that the day before JavaOne Brazil (23 to 25 June in Sao Paolo) will be... NetBeans Day Brazil!

Here's a pic I took of them today at JavaLand: 

Watch this space for news and announcements about NetBeans Day Brazil! 

Tuesday Mar 24, 2015

A Simple Starter Project With Grunt

In your package.json file:

{
    "name": "simple-app",
    "private": true,
    "version": "0.0.0",
    "description": "A Simple Starter Project With Grunt",
    "repository": "https://github.com/angular/angular-seed",
    "devDependencies": {
        "grunt-contrib-copy": "0.4.x",
        "grunt-contrib-clean": "0.4.x"
    }
}


In your Grunt file:
/* global module */
module.exports = function (grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        copy:{
            build:{
                cwd:'public_html',
                src:['**'],
                dest:'build',
                expand:true
            }
        },
        clean:{
            build:{
                src:'build'
            }
        }
    });
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.registerTask(
        'build',
        'Compiles all the assets and copies the files to the build directory.',
       [ 'clean', 'copy' ]
    );
};

Monday Mar 23, 2015

29th May: (Free) NetBeans Day UK!

As announced at NetBeans Day during JavaOne 2014, we're holding multiple NetBeans Days throughout the world, in part to celebrate the 20th year of Java's existence.

In December, we had NetBeans Day Germany, in February NetBeans Day Netherlands, in March NetBeans Day Germany again, in April NetBeans Day Greece is coming up, and May... is NetBeans Day UK:

Sign up and join in: https://blog.idrsolutions.com/2015/03/netbeans-day-uk-friday-29th-may-2015

And what will happen in June? Where in the world will NetBeans Day be held in June, July, etc? That's up to you! Propose a place where it should be held and the NetBeans community will work with you to set it up. 

Saturday Mar 21, 2015

Asset Management on NetBeans

I recently visited an asset management firm in the Netherlands, where various internal applications are created by the internal IT department. Here's their main application, used for asset management, i.e., stock trading and similar activities:

The above is yet another NetBeans Platform application. Especially the Window System, i.e., the docking framework, of the NetBeans Platform is considered to be very useful by the developers.

In the above application, data is pulled in from various web services, and managed in the application, which is basically a container for data. In fact, you could look at it as a highly customized browser. Had the application been a web app in FireFox, or some other existing browser, there wouldn't have been enough control over its functionality. Therefore, the developers created their own browser, to have maximum control over every aspect of the application. That's all that such desktop applications are and it explains the continuing need for desktop applications.

Here you see the application in action by one of its users, i.e., if you're managing assets, you typically have multiple monitors, showing multiple different applications. One of these, you can see on the far right, is the application shown above.

Other applications are being created on the NetBeans Platform by the same organization. For example, here you see an internal document management system, for printing, and similar activities. What's interesting is the lower part of the screenshot below, which is a JavaFX WebView component, containing a JQuery form in the bottom right. That means that a NetBeans Platform application can even integrate with JQuery; that's pretty cool, I think.

I always find it really interesting to come across applications such as the above two. They have in common that they're in the back office of an organization, that you're never going to read about them on the organization's website. In fact, I've been asked not to mention the name of the organization nor where it is.

In short, let's not base our understanding of the popularity of a technology on the analysis of GitHub or on seeing what people are using at conferences or using Google trends or things like that. Instead, if we want to know what's actually being used and done in the software domain, we need to really become anthropologists and go out into the field and meet people at the organizations where they work and see what they're actually doing. From the lowlevel subjective view, something higher level objective can maybe be extrapolated, and not the other way round. Indeed, that's a lot of work and much more difficult than running some scripts to analyze GitHub. But any other approach simply neglects the scenarios I've been describing in this blog over the past 10 years, where few of the applications I've encountered are on GitHub, even fewer are described on the company website, and almost none of the developers go to conferences, so all of these use cases fall under the radar.

Friday Mar 20, 2015

Human Rights, Amnesty International, and NetBeans IDE

At the headquarters of Amnesty International  in the Netherlands, quite a lot of interesting work is being done with NetBeans IDE. In this blog post, I'd like to briefly share the basic details of one of these projects.

With the Urgent Action App, created by Amnesty in Amsterdam, currently only available in Dutch though that will change, you're able to very quickly become engaged in human rights campaigns by efficiently signing petitions and sending e-mails to protest human rights abuses.

The app can be installed onto either Android or iPhone.

The technology stack for the backend of the Urgent Action App includes Java, Java EE, GlassFish, and NetBeans IDE. RESTful web service calls from the frontend, created in AppMachine (appmachine.com) are integrated into a Java EE backend that does the following:

  • collects registration data from users of the app who join the action network by filling in their details
  • stores data when  users sign forms in support of an action around human rights abuses
  • periodically creates a petition list from the support forms and presents them to applicable organizations and representatives
  • helps to show the level of support for a particular action and ensures that a petition can't be signed more than once

Below, you see a photo of Amnesty International software developers, from left to right, Bert Menting and Ed van Velzen, with NetBeans IDE 8.0.2 on their laptop, in the Amsterdam HQ office of Amnesty International in the Netherlands. 


Among many other features that they like in NetBeans IDE are the smooth integration of NetBeans IDE with GlassFish, the ease with which RESTful web services can be developed via helpful templates in NetBeans IDE, together with advanced Java coding features, such as "Find Usages" and the built-in free Java Profiler. They also appreciate the fact that NetBeans IDE is free and open source software. 

Great to see human rights work being enabled and empowered through tools and technologies that include Java, Java EE, GlassFish, and NetBeans IDE!

Thursday Mar 19, 2015

NetBeans at JavaLand

Next week I'll be at JavaLand. Looks like most of the "thought leaders" in the whole Java world will be there, when you look at the program:

http://www.javaland.eu/1/javaland-2015/

A session I'm doing is on Tuesday, 24 March, from 12:00 to 12:45. Looking forward to it!

I interviewed Markus Eisele from the JavaLand organization when it was launched, last year:

https://blogs.oracle.com/geertjan/entry/say_hello_to_javaland

Wednesday Mar 18, 2015

Microservices, Java EE, and Adam Bien at Blue4IT

Blue4IT is a software organization specialized in Java, based in the Netherlands. Last night they hosted the always entertaining and profound Adam Bien:

http://www.blue4it.nl/index.php/nieuws2/blue4it-presenteert-adam-bien-17-maart-2015

I thought he was really in top form, especially since he'd just flown in from Munich after having done the keynote session at NetBeans Day Germany the day before.

At some point I started tweeting his pithy wisdom and unfortunately at some later point my battery died. Until that stage, here's the key thoughts I picked up from him in his typically "lean" manner of looking at things:

No one embodies "lean" more than Adam Bien. Hmmm. "Adam Lean" would be a more descriptive name. The evening was really enjoyable, great catering too, looking forward to more of these at Blue4IT.

Tuesday Mar 17, 2015

Trip Report: NetBeans Day Germany 2015 (Part 1)

Not long ago, in December 2014, the Oracle office in Munich, Germany, was used for the first time to host a NetBeans Day. It was a big success. At that event, we immediately decided we wanted to have another day just like it and soon! In the meantime, NetBeans Day Netherlands has taken place, while NetBeans Day Greece, NetBeans Day UK, NetBeans Day Belgium, NetBeans Day Poland, and NetBeans Day Sweden are being planned, over the coming months, leading up to the next NetBeans Day at JavaOne later this year, which might be prefaced by a NetBeans Day in San Diego, too! (Missing your country in that list? No worries, contact me if you want help in setting up an event in your part of the world.)

Yesterday was the second Oracle-sponsored NetBeans Day in Germany, i.e., in the same place as where we were in December last year. There were a lot of topics to attend throughout the day, so during the lunch break the room was split into two, so that we were able to run two tracks, both of which were well attended, with a wide range of topics, from HTML5 to Raspberry Pi to Oracle Developer Cloud Service and more.

It was a fun time!

Rock star Adam Bien's view, on one side of the room, was as follows:

This was the whole group before lunch, i.e., before the room was split:

Adam Bien started the day by talking about HTML5 and JavaFX. Using a development build of NetBeans from the day before, he showed several cool new features, such as Gulp support, as well as Nashorn debugging in NetBeans IDE:

Kirk Pepperdine, performance guru and more, talked about the latest features in Java 8, focusing on a range of topics, though not sticking primarily to Lambdas and Streams, as normally happens at Java 8 sessions, for example, this was handy and illuminating:


Dalibor Topic, project manager of the OpenJDK, talked about the current state of OpenJDK and JDK 9, as well as explaining some interesting concepts and processes, such as the Java Enhancement Process:



After lunch (lots of healthy fruit and sandwiches), the room was split and several interesting sessions were held, such as by Jens Deters on Java embedded and the Raspberry Pi:


And Thomas Kruse showed a lot of code in his presentation on AngularJS and NetBeans IDE:

It was pretty cool to see Thomas using the "Dark Look & Feel Themes" plugin while talking about HTML5, i.e., like a lot of (most? all?) JavaScript developers, Thomas likes a dark background in his development tools:

Despite the dark background, the code was clearly visible throughout the room, the font size being enlarged so that those in the back could see it too.

One of the other sessions focused on Duke's Choice award winning "DukeScript", a new technology for creating cross-platform mobile,  desktop and web applications, which was explained in detail and with code by Toni Epple himself:

Paul and Gail had an excellent session on JavaFX and the NetBeans Platform, half of which you can view right here (the other half was not recorded because the disk was full):

Paul and Gail are from San Diego in the US and are interested in holding a NetBeans Day there, right before JavaOne, that would be great, I think. They also brought two copies of their great heavy new book with them "JavaFX Rich Client Programming on the NetBeans Platform", one of which was won by Stefan Gürtler from Transver in Munich:

Other sessions, of which I have no photos since I was one of the speakers or at a conflicting session, including a session on teaching with NetBeans IDE, mainly by Karsten Sitterberg, about how NetBeans is well suited as a tool for teaching Java. In that context, I introduced the NetBeans Education Community and the NetBeans Teachers Community on Google+. At the same time, Benno Markiewicz, the most prolific NetBeans plugin developer in the world, was explaining to a packed out room how to use the NetBeans APIs and create new plugins similar to the awesome ones he has been making.

I also did a session on the Oracle Developer Cloud Service (ODCS). I went through the features offered by ODCS which is a really comprehensive development platform in the Cloud, including Git, a bug tracker, Hudson, and Wiki. Watch the videos shown during the presentation here.

For those who stayed a bit longer, the day ended with a really nice Greek meal!

Almost forgot to mention one thing because it's such a typical occurrence to me at this stage—I again met a whole bunch of people I had never heard of before using the NetBeans Platform. It continues to surprise me in all the shortsighted "the browser is everything now" assumptions that greenfield projects, i.e., from scratch, are starting up all the time on the Java desktop for all the old reasons, that continue to be true, e.g., cross-platform, reliability, stability, etc, which when coupled with the modularity of the NetBeans Platform, together with its rich set of GUI components and programming techniques, makes for an absolutely killer combination.

It was a really enjoyable day, amazing how much was packed into it, many thanks to all the speakers and attendees! Special thanks to those who came from far, such as Allesandro from AirMosaic in Italy, Michal from Sabre in Poland, and Paul & Gail from the US. The next NetBeans Day, i.e., part 2 of this blog series, will be sometime after JavaOne this year, which will include content from JavaOne. Many thanks to the Oracle office in Munich, especially Peter Doschkinow, for making these events possible.

Friday Mar 13, 2015

Royal Netherlands Navy on NetBeans

A few days ago I had the opportunity to visit the headquarters of the Royal Netherlands Navy in Den Helder, which is in the tip of the most northern part of the Netherlands. That's where naval ships such as the following are managed:

The various military components on naval ships like the above are controlled by programs coded via an MDA (Model Driven Architecture) methodology based on the Shlaer-Mellor methodology, comparable to Executable UML. An in-house Shlaer-Mellor MDA and an ASL implementation are used for coding. The models and the ASL are compiled by an in-house compiler into C code, which is then compiled into an executable via a C compiler.

An in-house IDE has been developed for the in-house implementation of the Shlaer-Mellor/Executable UML methodology, by SATS Den Helder, which is part of the Defence Material Organisation, for the approximately 40 in-house internal developers who are working with these modeling methodologies. The IDE is used for modeling, as well as for the related ASL code, providing the rich features expected of a modern IDE, in addition to the modelling features you see below, this includes a full-blown ASL editor, with syntax coloring, code completion, refactoring, find usages, code navigation, compilation, and diffing of models.

Guess what that in-house IDE, specifically created for those 40 developers, looks like? Click to enlarge it:

What you see is a complete development environment created on NetBeans for the usage of the Shlaer-Mellor/Executable UML methodology together with the in-house implementation of ASL, created with the key idioms that NetBeans provides, e.g., Module, TopComponent, Lookup, etc. However, there's no project system, because each application is stored in a single XML file. Everything you see above is extrapolated from a single XML file.

The developers told me they'd never have created the above application without NetBeans, since it provides an enormous amount of plumbing, especially the window system that you see above. The Visual Library is used, for the modeling, as well as JFreeChart (which might potentially become JavaFX). The immediate professional appearance that an application on NetBeans gains out of the box was a key reason for using it.

Prior to using the NetBeans Platform as the basis of this application, extensive analysis was done in comparing it with Eclipse RCP. Clearly, NetBeans won. Other applications have been developed, while others are being started from scratch, by the Royal Netherlands Navy on the NetBeans Platform. Being able to share modules between different applications is a big win and that's something that the development team is leveraging as they develop more applications that do similar things. I have some more screenshots of these that I'll share in the coming days.

Thursday Mar 12, 2015

Ctrl-G = Go to Line | Go to Bookmark

A super hidden NetBeans feature is the fact that you can jump to bookmarks from the "Go to Line" dialog, as this quick screencast shows:

Wednesday Mar 11, 2015

Ignored Files in NetBeans IDE

In the Options window, within Miscellaneous | Files, there's this cryptic text field:

How to understand it and how to, for example, enable all XML files to be ignored, i.e., not shown in the Projects window and Files window?

The above is a regular expression, here is an explanation of the characters you see being used above:

Character Description
| Or.
^ Matches all file or directory names beginning with the subsequent characters.
$ Matches all file or directory names ending with the preceding characters.
\ Escape character. Necessary if you want to match to a period (.) or other special character.         
.* Wildcard.

For example, if you want to ignore all files with the .bak extension, add this:

\.bak$

That means you now have this line, with the addition in bold below:

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|\.bak$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$ 

 Similarly, if you don't want to see XML files, change bak to XML, as shown below:

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|\.xml$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$ 

However, notice what happens in the Projects window and Files window for Maven projects when XML files are ignored, via the above setting.

This is the default situation, i.e., everything is shown exactly as it is when you make no changes to the ignored files definition: 

Here, however, XML files have been excluded:

What you see is that the "Project Files" node is excluded from the ignored files definition. While all the XML files are ignored, i.e., hidden, throughout the project, both in the Projects window and in the Files window, the Project Files node remains showing the XML files. Not sure whether to see this as a bug or not. 

Tuesday Mar 10, 2015

Out of the Box Free Java PDF Viewers

Here's a really handy tip for you if you're at NASA, Boeing, etc, creating large software on top of the NetBeans Platform—at some stage you probably need a PDF viewer of some kind as part of your application. Before trying to figure out how to create and integrate a PDF viewer, simply go here:

http://plugins.netbeans.org/plugin/52568

That brings you here:

https://www.idrsolutions.com/open-fx/downloads/

And then a few clicks later you have JARs, and source code, that integrate three different kinds of PDF viewers into your application. The plugin gives you a choice of three different PDF viewers, together with a window named "PDFTopComponent". Hence, if you don't want to do anything with the sources, simply bundle the JARs and then refer to the PDFTopComponent in your own code:

TopComponent tc;
     //this gives me a new window each time
     tc=new PDFDisplayTopComponent(pathToFile,viewerType);
     tc.open();
     tc.requestActive();  

The three different types of viewer are shown below, as well as the fact that they even render music notation very well.

These are really great and IDRSolutions have done a wonderful job making these available.

Monday Mar 09, 2015

NetBeans Day in Germany: 16 March, 2015

A few months ago, in December 2014, the Oracle office in Munich, Germany, was used for the first time to host a NetBeans Day. It was a big success. At that event, we immediately decided we wanted to have another day just like it and soon!

It's going to be held on the 16th of March, it is already fully booked, though you can sign up on the waiting list.

The agenda is pretty cool, split in two tracks in the afternoon:

09:00 - 09:15 Welcome to NetBeans Day, Geertjan Wielenga, Peter Doschkinow, Toni Epple
09:15 - 10:15 HTML 5 + Java FX mit NetBeans, Adam Bien
10:15 - 10:45 Coffee Break
10:45 - 11:45 Java 8 - the other stuff (beyond lambdas), Kirk Pepperdine
11:50 - 12:50 A Sneak Peak into JDK 9 , Dalibor Topic
12:50 - 13:50 Lunch Break

Track 1 Extending NetBeans
13:50 - 14:50 NetBeans Platform and JavaFX, Gail and Paul Anderson
15:00 - 15:45 Writing Plugins for the IDE, Benno Markiewicz
15:45 - 16:05 Coffee Break
16:05 - 17:05 Modern Web Development with NetBeans, Thomas Kruse
17:10 - 18:00 NetBeans Platform Show & Tell, Sven, Gail, Paul, etc

Track 2 Using NetBeans
13:50 - 14:50 "Kaffee und Kuchen" - Home-Control mit Java Embedded auf dem Raspberry Pi, Jens Deters
15:00 - 15:45 Teaching with NetBeans - Karsten Sitterberg, Geertjan Wielenga
15:45 - 16:05 Coffee Break
16:05 - 17:05 Running Java Everywhere with DukeScript and Bck2Brwsr, Jaroslav Tulach, Toni Epple
17:10 - 18:00 "Hello Oracle Developer Cloud Service!" Peter & Geertjan

Note: A special thanks to Paul and Gail, for coming all the way from the US for this event, they're the authors of the brilliant JavaFX Rich Client Programming on the NetBeans Platform.

Sunday Mar 08, 2015

Bach in NetBeans

Notice the "Play" and "Stop" buttons! All this is thanks to LilyPond. Yes, LilyPond generates MIDI files, as well as PDF files. Truly awesome. And the above actually works, I can generate and play Bach in NetBeans. 

The above was generated as described here:

A great resource: http://www.mutopiaproject.org

Friday Mar 06, 2015

Rendering Music Notation in PDF Files on the Java Desktop

It turns out to be pretty tricky to render music notation in PDF files in a Java desktop application. The upper part of the image below shows what Apache PDFBox makes of my PDF with music notation, below that you see the correct rendering in Acrobat PDF Reader:

Here's the PDFBox code for the above:

InputStream inputStream;
    try {
        inputStream = FileUtil.toFileObject(pathToPDFFile).getInputStream();
        SwingController controller = new SwingController();
        SwingViewBuilder factory = new SwingViewBuilder(controller);
        JPanel viewerComponentPanel = factory.buildViewerPanel();
        add(viewerComponentPanel, BorderLayout.CENTER);
        controller.openDocument(inputStream, "", "");
    } catch (FileNotFoundException ex) {
        Exceptions.printStackTrace(ex);
    }
}

Next, let's look at a JavaFX solution, provided by this blog entry:

Possibly I haven't used PDFBox or JPedal-technologies correctly and the problem isn't with these libraries but with my lack of understanding of how to apply them to this scenario. 

So, finally, not having found any other way of achieving my goal, I used LilyPondTool for JEdit:

The above is a PDF generated via LilyPond and rendered in NetBeans via an embedded "DockablePdfViewer", which is based on JPedal, which is also part of LilyPondTools. After adding LilyPondTools as a JAR to my project, as well as JEdit itself, together with quite a few other JARs, the only code I needed to provide myself, turned out to be the following, after a lot of trial and error, in my MultiViewElement:

jEdit.initSystemProperties();
jEdit.setProperty("options.lilytool.pdf.follow-caret", "true");
DockablePdfViewer dpv = new DockablePdfViewer();
dpv.setCurrentFile(pathToPDFFile);
dpv.refresh();
add(dpv, BorderLayout.CENTER);

A couple of sneaky tricks were needed to circumvent JEdit's own protocol for finding images:

@ServiceProvider(service = URLStreamHandlerFactory.class)
public class JEditResourceStreamHandlerFactory implements URLStreamHandlerFactory {
    @Override
    public URLStreamHandler createURLStreamHandler(String protocol) {
        if (protocol.equals("jeditresource")) {
            return new LilyPondToolHandler();
        }
        return null;
    }
    private static class LilyPondToolHandler extends URLStreamHandler {
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return new LilyPondConnection(u);
        }
    }
    private static class LilyPondConnectionextends URLConnection {
        private ByteArrayInputStream is = null;
        public LilyPondConnection(URL url) throws UnsupportedEncodingException {
            super(url);
            String file = url.getPath().replace("/LilyPondTool.jar!/", "");
            Image image = ImageUtilities.loadImage(file);
            try {
                ByteArrayOutputStream os = new ByteArrayOutputStream();
                ImageIO.write((RenderedImage) image, "png", os);
                is = new ByteArrayInputStream(os.toByteArray());
            } catch (IOException ex) {
                Exceptions.printStackTrace(ex);
            }
        }
        @Override
        public void connect() throws IOException {
        }
        @Override
        public InputStream getInputStream() throws IOException {
            return is;
        }
    }
}

At the end of the day, I can now display music notation in PDF files in NetBeans IDE. The dependency graph is a bit too impressive though and a lighter solution would be preferable:

One other problem is that not all of the JARs shown above are in a Maven repo, i.e., I have them in my local repo only. 

Since PDF music notation files can be rendered via LilyPond, the basis for a complete LilyPond integration for NetBeans is not inconceivable.

I'm working on that here:

https://github.com/GeertjanWielenga/NetLilyBeansPond

Thursday Mar 05, 2015

Free: Learn How To Use All 50 Java Keywords!

Kai Uwe Pel, who I met at NetBeans Day Netherlands recently, gave me a fantastic tip yesterday.

He told me about a great and free course that fills in any spaces you might have in your basic Java knowledge:

https://www.udemy.com/learn-how-to-use-all-50-java-keywords

When you go there and log in, for free, you have access to a wonderful starting point or, possibly, a place where you can remind yourself of the basic principles of Java. It won't teach you object orientation and Java programming in general, as Huw Collingbourne's course does so well, but certainly it is excellent in covering the specific thing it covers.

Of course, NetBeans is used from beginning to end:

A fantastic free resource! Get started with it today.

Tuesday Mar 03, 2015

Learn Java, For Real, Thoroughly, With Huw and NetBeans IDE

The two tools you need when learning Java are Huw Collingbourne and NetBeans IDE. Watch this quick screencast on why this is the case:

For this week only, i.e., until Tuesday next week, there's a massive discount:

https://www.udemy.com/java-programming-the-master-course/?couponCode=JAVANETBEANS

Once you buy the course (PayPal works brilliantly), you'll get this starting point with heaps of well structured lessons in bite size chunks:

You'll be a Java programmer before you're even aware of it!

Monday Mar 02, 2015

Transcript of "Free Open Source Tools" OTN Virtual Technology Session

The OTN Virtual Technology Sessions have now happened in two timezones, for the Americas and for EMEA. The final edition in the current series is for the APAC timezone, on March 4th, from 9:30 to 13.00 IST.

Read all about it here:

http://netbeans.dzone.com/articles/free-virtual-technology-summit

As you can see in the image above, while watching the pre-recorded screencasts, you can chat with moderators, who are generally the people involved in the making of the screencasts. I'm the one who made the screencast for "Free Open Source Tools for Maven, HTML5, IoT, and Java EE" and moderated the session. During the most recent one, for EMEA, there was quite some discussion, i.e., a lot of questions were asked while the screencast was being watched by quite a lot of people. Some wanted to see the transcript because a lot of info was shared. So, here it is! 

  • How much NetBeans costs? 
    It's free! Get it from netbeans.org -- free and open source.

  • Which plugin I need for using Maven in NetBeans? 
    Good question. No plugin needed. NetBeans natively supports Maven. No installation or configuration need.

  • What is "Internet of Things" doing here with JavaEE, Maven, and HTML5? I know internet is hugely connected with web applications but what is the specific reason here?
    Well, these are the key features of NetBeans -- it is a great tool for doing development for IoT, Java EE, Maven, and HTML5. That's why they're all included here, because NetBeans provides great tools for working with all of them, separately, or together.

  • It seems NetBeans is for more than just Java?
    Definitely! There's a special download bundle of NetBeans which is ONLY for doing HTML5 frontend development. All for free, which you can use together with or instead of Sublime or WebStorm. For free.

  • Your NetBeans looks faster and better than mine.
    That's because I'm using the "Dark Look and Feel Themes" plugin and because I have a very small version of NetBeans, which only contains HTML5 frontend tools, get it for free from netbeans.org/downloads.

  • Everything you mentioned so far is for free. Which products do we have to license?
    Nothing to license. All free. :-) Nothing in or with NetBeans is for any money at all, no licensing, whatever, etc. Free.

  • Bower, Node.js, Angular... what's going on here?! NetBeans has support for all of these? Even test coverage for JavaScript files?
    Yup, you're right, NetBeans is great.

  • Where can we find out more about all of this?
    https://netbeans.org/features/html5/index.html

  • At the bottom of your screen it seems you have a browser inside NetBeans?
    Yes, very useful feature -- an embedded browser. I use it all the time.

  • What about MongoDB? Does NetBeans support it?
    There's MongoDB plugins on the Plugin Portal: http://plugins.netbeans.org

  • Does NetBeans have a presence on social media?
    Yes! New tips and tricks every day at facebook.com/netbeans, twitter.com/netbeans, and many moves at the NetBeans YouTube channel.

  • Where are the NetBeans YouTube videos found?
    https://www.youtube.com/user/NetBeansVideos

  • Is NetBeans a good replacement for Eclipse?
    Definitely. The Maven integration in NetBeans is much better than in Eclipse. The HTML5 tools too. For Java EE, there's no better IDE than NetBeans. 

  • Is NetBeans fast?
    For me, it takes 9 seconds to start up the HTML5 distribution of NetBeans. No JDK required for this, only the JRE.

  • How much does the enterprise version of NetBeans cost?
    NetBeans is 100% free. If you ever find yourself giving anyone any money for NetBeans, you can be 100% that you're being ripped off. :-)

  • Can NetBeans be used as an infrastructure for applications, just like Eclipse RCP?
    Yes, definitely. NATO and Boeing and many other organizations use it exactly like that: https://platform.netbeans.org/screenshots.html

Sunday Mar 01, 2015

Why I Am Excited About JDK 8 Update 40

Doing JavaFX development? Take a look at the very clear performance enhancements in JDK 8 Update 40 (https://jdk8.java.net/download.html) by looking at a new EPUB plugin that's being worked on:

About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« March 2015
SunMonTueWedThuFriSat
4
14
15
16
22
27
28
29
30
31
    
       
Today