Česky   |  Deutsch   |  English   |  Español   |  Français   |  Indonesia   |  日本語   |  한글   |  Polski   |  Português (BR)   |  Türkçe   |  中文   |  正體中文   |  Your Language  
PlanetNetbeans
Planet NetBeans is an aggregation of NetBeans related musings from all over the Blogosphere.
Feeds
[RSS 1.0 Feed] [RSS 2.0 Feed]
[FOAF Subscriptions] [OPML Subscriptions]
Do you blog about NetBeans ? Add your blog to PlanetNetBeans.
Feed Subscriptions
NetBeans Zone - The social network for developers (feed)
APIDesign - Blogs (feed)
Pandaconstantin (feed)
blogtrader - Blog (feed)
David R. Heffelfinger (feed)
Carsten Zerbst's Weblog (feed)
Winston Prakash's Weblog (feed)
markiewb's blog (feed)
Michael's blog » NetBeans (feed)
ProNetBeans (feed)
Paulo Canedo » NetBeans English (feed)
Anchialas' Java Blog (feed)
Need to find a title (feed)
Category: NetBeans | Software and Science (feed)
Roger Searjeant's blog (feed)
Optonline Webmail (feed)
Allan Lykke Christensen » NetBeans (feed)
Inspiration and Expression » Netbeans (feed)
Gualtiero Testa » Netbeans (feed)
James Selvakumar's Blog » netbeans (feed)
John O'Conner » NetBeans (feed)
Koberoi Oracle (feed)
nB gUru » NetBeans (feed)
Newsintegrator Blog » netbeans (feed)
Praxis LIVE » NetBeans (feed)
TechAshram » NetBeans (feed)
There's no place like 127.0.0.1 » Netbeans (feed)
Adam Bien (feed)
Ignacio Sánchez Ginés » NetBeans (feed)
Bernhard's Weblog (feed)
Michel Graciano's Weblog (feed)
Ramon.Ramos (feed)
Ozone and Programming » netbeans (feed)
NetBeans Ruminations » NetBeans (feed)
Tiplite » netbeans (feed)
Arun Gupta, Miles to go ... (feed)
Geertjan's Blog (feed)
.JARa's Bilingual Weblog (feed)
JavaFX Composer (feed)
The Java Jungle (feed)
Jesse Glick (feed)
Martin Grebac (feed)
The NetBeans Community Podcast (feed)
NetBeans Profiler (feed)
NetBeans for PHP (feed)
NetBeans Web Client (feed)
Rechtacek's (feed)
Virtual Steve (feed)
My First Blog - Satyajit Tripathi (feed)
The Aquarium (feed)
Tinuola Awopetu (feed)
Insert Witty Irony Here (feed)
mkleint (feed)
Anuradha (feed)
Netbeans6/6.5 my best practices (feed)
Java Evangelist John Yeary's Blog (feed)
Neil's Dev Stuff (feed)
Computer says null; (feed)
NetBeans Adventures, Java and more (feed)
Bistro! 2.0 (feed)
NetBeans Community Docs Blog (feed)
The Netbeans Experience (feed)
NbPython/ jpydbg / pymvs (feed)
Manikantan's Netbeans (feed)
Wade Chandler's Programming Blog (feed)
Big Al's Blog (feed)
Code Snakes (feed)
In perfect (spherical) shape (feed)
Van Couvering Is Not a Verb (feed)
Diego Torres Milano's blog (feed)
Vroom Framework (feed)
Messages from mrhaki (feed)
Jeff's Blog (feed)
Oliver Wahlen's Blog (feed)
Shuttle between Galaxies (feed)
Shanbag's Blog (ರಜತ ಲೋಕ) (feed)
Welcome to my live... (feed)
Netbeans IDE Blog by Tushar Joshi, Nagpur (feed)
Devel Blog (feed)
diamond-powder (feed)
Antonio's blog (feed)
Where's my Blog?!

Powered by:    Planet

Last updated:
October 01, 2014 02:05 PM
All times are UTC

Sponsored by
sponsored by Oracle

visit NetBeans website
Adam Bien - September 30, 2014 01:41 PM
JavaOne and Overnight Rockstars--The Official Soundtrack

Had some conversations with the performers. They were not aware of the video until the JavaOne keynote--a nice surprise.


Real World Java EE Workshops [Airport Munich]>

The Aquarium - September 29, 2014 07:33 PM
jBatch Suite: Visual Development for the Java API for Batch Processing/Java EE 7

As many of you know, the Java API for Batch Processing (JSR 352) is one of the key APIs added in Java EE 7. The API is largely based on POJOs, annotations and some XML. As a result you can be pretty productive even without an IDE. As a Java developer, however, like me you probably enjoy the usability of modern IDEs like NetBeans and may be wondering what IDE support there is for the Java API for Batch Processing. Although Java IDEs have been very good about supporting Java EE 7 generally, none of them have had much specific support for JBatch - until now that is. Sensing a gap Gaurav Gupta has stepped up with jBatch Suite. jBatch Suite is a NetBeans plugin that allows for both UML style modelling and code generation for Java Batch. Conveniently, it is available through the NetBeans Plugin Portal Update Center (Tools > Plugins). The following video is a great overview of the basic functionality in the plugin:

Gaurav has actually put together a very nice set of video demos covering the majority of functionality in the plugin on YouTube. The NetBeans plugin website offers further details as well as download. Contributions are welcome through the java.net project for the plugin. Enjoy!

APIDesign - Blogs - September 29, 2014 05:37 PM
Duke Choice Award

DukeScript has been awarded a Duke Choice Award! Here is picture of Toni Epple and me holding the Duke Choice Award on Sep 28, 2014:

Image:DukeChoiceAward.jpg

Long live Java and HTML on every device (iOS, Android and co.)!

--JaroslavTulach 17:37, 29 September 2014 (UTC)

Adam Bien - September 29, 2014 02:41 PM
JavaOne 2014--The Zero Day

  1. More attendees than last year
  2. More sponsors, exhibition hall is packed
  3. 500 sessions--content is really good (I'm going to spend 14h a day at the conference attending sessions)
  4. NetBeans session Free Java Tools for Maven and Java EE [UGF8872] was full. I couldn't even get in as speaker first.
  5. Attendees are eager to ask questions and participate. Because of this, there was no time for lunch. TooManyQuestionsBetweenSessionsException
  6. GlassFish / JavaEE party was bigger than ever before--a nice opportunity to continue the conversation

The only problem is: Keynotes became a bit boring. Java is open source and the JCP open what makes "breaking news" impossible :-).


Real World Java EE Workshops [Airport Munich]>

NetBeans Zone - The social network for developers - September 27, 2014 04:43 PM
Starting a JUG on Uncle Sam’s Turf

In this article, you learn about the background of a BOF that will be held during JavaOne 2014, Starting a JUG on Uncle Sam's Turf on Monday, September 29, from 21:00 - 21:45 in Moscone South - 300. Preview Text:  Starting a JUG on a Navy base comes with its own set of unique challenges. Learn about the issues involved and a JavaOne session...

Adam Bien - September 26, 2014 04:02 AM
afterburner 1.6.1 Released

A small fix release this time:

  1. Demon threads are used for asynchronous view loading. (Thanks to: https://github.com/ennerf for the contribution)
  2. Per-view injection does not interfere any more with the regular model and service injection (bug fix)

Update your dependencies to:


<dependency>
	<groupId>com.airhacks</groupId>
	<artifactId>afterburner.fx</artifactId>
	<version>1.6.1</version>
</dependency>


Real World Java EE Workshops [Airport Munich]>

Geertjan's Blog - September 25, 2014 08:03 PM
My JavaOne 2014

Busy, as always. The ones in bold are sessions where I'm speaking, the others are where I'm attending or booth duty.

  • Sunday: NetBeans Day

  • Monday:
    • 08:30 - 10:30: TUT2372: Swing Away! Move to JavaFX 8 and the NetBeans Platform (Hilton - Imperial Ballroom A)
    • 11:30 - 13:30: NetBeans Booth
    • 14:30 - 15:30: CON3143: Coding for Desktop and Mobile with HTML5 and Java EE 7 (Hilton - Continental Ballroom 6)
    • 16:00 - 17:00: CON6423: Scalable JavaScript Applications with Project Nashorn (Parc 55 - Embarcadero)
    • 19:00 - 19:45: BOF2459: Java: Changing the World One Child at a Time—Minecraft with the NetBeans IDE (Moscone South - 250)
    • 20:00 - 20:45: BOF2187: femto Java: Developing for Small-Footprint Java Deployments (Moscone South - 200)
    • 21:00 - 21:45: BOF5892: Extending Build to the Client: A Maven User’s Guide to Grunt.js (Moscone South - 306)

  • Tuesday:
    • 08:30 - 10:30: TUT5276: Hybrid Mobile Development with Apache Cordova and Java EE 7 (Parc 55 - Mission)
    • 11:00 - 12:00: CON3162: Coding for the Future: The IDE (R)evolution for the Next Generation (Hilton - Continental Ballroom 6)
    • 13:30 - 15:30: NetBeans Booth
    • 15:30 - 16:00: Book Signing: JavaFX Rich Client Programming on the NetBeans Platform
    • 16:00 - 17:00: CON6170: Simplifying JavaScript/HTML5 Rich Clients with Java EE (Parc 55 - Mission)
    • 19:00 - 19:45: BOF4499: Using Type Annotations to Improve Code Quality (Hilton - Continental Ballroom 6)
    • 20:00 - 20:45: BOF2817: Creating Smart Raspberry PI Applications with Neural Networks (Hilton - Continental Ballroom 1/2/3)
    • 21:00 - 21:45: BOF8655: Coding in the Cloud for Java Developers (Parc 55 - Cyril Magnin II/III)

  •  Wednesday:
    • 08:30 - 09:30: CON1724: Do You Really Get Your IDE? (Hilton - Yosemite B/C)
    • 10:00 - 12:00: CON1994: NASA Mission Software Development on the Eights: Java 8, JavaFX 8, and NetBeans 8 (Hilton - Plaza B)
    • 13:00 - 14:00: CON6699: Debugging and Profiling Robots with James Gosling (Hilton - Continental Ballroom 4)
    • 15:30 - 17:30: NetBeans Booth

  • Thursday:
    • 13:00 - 14:00: CON6735: Software Lessons Learned from NASA and Other Security Organizations (Hilton - Golden Gate 6/7/8)
    • 16:00 - 17:00: CON6767: Flexibility Breeds Complexity: Living in a Modular World (Hilton - Continental Ballroom 5)

There are so many others I wish I could attend, but can't because of clashes with the above, e.g., "BOF7063: The Relevance of Java in the Oil and Gas Sector", "BOF2317: Lessons Learned in Developing a NetBeans PDF Viewer Plug-in in JavaFX", and "CON3677: Welcome to Agroville: A Mind-stormish Demo of Java Controlling an Entire Farm".

If there are others anyone wants to recommend, I'd be happy to hear about it!

APIDesign - Blogs - September 25, 2014 12:50 PM
invokeDynamic is wrong idea. Especially for implementation of lambdas!

When I was younger I used to believe that having invokeDynamic instruction in JVM can be beneficial. Now, few years later and after spending time to implement lambdas in my Bck2Brwsr VM and seeing things from the other side I have to admit I was wrong. invokeDynamic is wrong idea (especially for implementation of lambdas).

It is JavaOne time, I have a talk about my Bck2Brwsr together with Niclas from RoboVM, so let's show I understand what is wrong with JVM and start a little rant! I need something from the JDK guys, so let's give them a reason to welcome me with open arms when we see each other in San Francisco:

InvokeDynamic should have never been added to Java and should be removed from the specification. Read why...

--JaroslavTulach 12:50, 25 September 2014 (UTC)

Geertjan's Blog - September 24, 2014 09:57 AM
Icon Sets for NetBeans IDE

It's really pretty cool how you're able to configure fonts and colors for NetBeans IDE, export them to a ZIP file, and share them with others. That's how brilliant sites likes netbeansthemes.com have popped up in various places.

Wouldn't it be cool if the same thing could be done with the icons in NetBeans? You'd go to the Options window and be presented with all the icons and then you'd be able to replace each of them with your own. Or, better still, you'd be able to right-click on any icon and replace each of them one by one. Or all at once.

Many different implementations are imaginable. But the starting point is to figure out whether it is possible to create a NetBeans plugin that is able to replace NetBeans icons. Below, you can see I have succeeded. You can see two instances of NetBeans. The one at the top (or, in fact, behind the other one) is where I have created a module named "IconReplacer". It has the standard "New File" icon, while the second instance  shows that I have replaced that icon with my own.

The icons in NetBeans are found all over the source code, which makes sense, since NetBeans is modular. I.e., each feature is provided by a set of modules, including the icons used by the feature. However, many of the icons are found in the 'projectui' module, that's a good place to start if you want to go down this road.

And here's all the code I added into my "IconReplacer" module to change the New File icon:

import javax.swing.Action;
import org.openide.filesystems.FileUtil;
import org.openide.windows.OnShowing;

@OnShowing
public class Replacer implements Runnable {

    @Override
    public void run() {
        Action newFileAction = 
                FileUtil.getConfigObject(
                        "Actions/Project/org-netbeans-modules-project-ui-NewFile.instance", 
                        Action.class);
        newFileAction.putValue("iconBase","org/netbeans/icon/replacer/resources/newFile.png");
    }
    
}

Therefore, you'd need to find the location of all the icons, provide some kind of user interface so the user can change the icons to different ones, and then code like the above for actually doing the replacement.

markiewb's blog - September 23, 2014 07:52 PM
How to build TuxGuitar with NetBeans

Recently a guitar-playing developer asked me if I can help him to build his favorite guitar tab program TuxGuitar from the sources. So here is a small step-by-step guide using NetBeans.

Steps:

  1. Checkout the sources via the NetBeans SVN Client (Team->Subversion->Checkout…) from
    svn://svn.code.sf.net/p/tuxguitar/code/trunk
    (At http://sourceforge.net/p/tuxguitar/code/HEAD/tree/trunk/ you will find the SCM URL)2014-09-23_21h48_10
    2014-09-23_21h46_58 2014-09-23_21h47_09
  2. Open the maven project at trunk\build-scripts\tuxguitar-windows-x86
  3. Right click on the project, choose “Clean and Build” and wait for the assembly to finish.2014-09-23_17h45_25
  4. After that in trunk\build-scripts\tuxguitar-windows-x86\target\tuxguitar-1.3-SNAPSHOT-windows-x86 there is a executable version of TuxGuitar2014-09-23_21h26_40
  5. Start TuxGuitar *g*
    2014-09-23_21h44_50

The setup was easy because NetBeans provides a SVN Client and a Maven installation out-of-the-box. Tested with NetBeans 8.0.1 (running using JDK8) and Windows 7 64bit.

Troubleshooting:

If you use a x64-Windows and a x64-JDK TuxGuitar won’t run because of native 32bit-SWT libraries. You will see the following exception.

Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Solution: In the tuxguitar.bat set the path to the java executable of a 32 bit JDK.

 SET JAVA="C:/Program Files (x86)/Java/jre7/bin/java"

NetBeans Zone - The social network for developers - September 23, 2014 07:59 AM
How to Create a CRUD Application in 90 Seconds

In the screencast below, I demonstrate how to build a CRUD web application, using NetBeans IDE 8.0.1, which interacts with a back-end database.  Preview Text:  Watch a screencast that demonstrates how to build a CRUD web application, using NetBeans IDE 8.0.1, which interacts with a back-end database... in 90 seconds. ...

Geertjan's Blog - September 23, 2014 07:39 AM
Knockout App Deployed to Android Device, Displayed in NetBeans IDE 8.0.1

And... here's the same application as yesterday, now deployed as an Android APK via Cordova to my Android device, which you can see in this screenshot because I have the NetBeans Droid@Screen plugin installed.

It took me quite a while to get this working because I didn't know what was going wrong with the connection to the device. Turned out I hadn't installed the Samsung USB Driver:

http://androidxda.com/download-samsung-usb-drivers 

Adam Bien - September 23, 2014 05:44 AM
The Most Popular Microservice (Is Written In Java)

One of the most popular microservice is Jenkins CI:

  1. Jenkins was initially created by a very small team (Kohsuke Kawaguchi)
  2. Jenkins plays well with other services like GitHub, SVN, Git using HTTP and REST-like APIs. In fact Jenkins is very popular in non-Java environments.
  3. The state is managed by each Jenkins instance individually in an own repository (JENKINS_HOME)
  4. Services are exposed via Remote API
  5. The UI is self-contained
  6. Jenkins can be easily extended by an independent team
  7. Jenkins is already packaged as a micro service: just launch the service with java -jar jenkins.war

However, I bet Kohsuke didn't knew the term "microservice" as he initially developed Hudson :-).

See you at Java EE Workshops at Munich Airport, Terminal 2 or on demand and in a location very near you: airhacks.io.


Real World Java EE Workshops [Airport Munich]>

Geertjan's Blog - September 22, 2014 10:22 PM
From Knockout with Java EE via Cordova to Android Emulator via Genymotion

I've blogged about Genymotion before, to me it's simply a fantastic Android emulator. Now I'm able to deploy a Knockout front-end via ADB to Genymotion, while the Knockout front-end is able to make a connection to a REST back-end:

What you see above is Genymotion, displaying a Knockout front-end, that connects to a REST back-end running on localhost, while exposing the Manufacturer table from the Derby 'Sample' database that is part of NetBeans IDE and GlassFish.

I used Cordova tools integrated in NetBeans IDE 8.0.1 (and a few releases before that those tools have been there too) to create the Android APK file from the Knockout sources (i.e., from the HTML, JS, and HTML).

On top of everything else, this is a small teaser for a session JB Brock and I are doing at JavaOne: "Coding for Desktop and Mobile with HTML5 and Java EE 7" (Monday, Sep 29, 2:30 PM - 3:30 PM - Hilton - Continental Ballroom 6).

I've also installed a NetBeans plugin I blogged about sometime ago for deploying an APK directly from NetBeans, i.e., when the menu item below is clicked, ADB is called, which installs the APK onto Genymotion:


The above does nothing more than 'adb install -r' on the APK file, so it's not a big deal, but small and handy to have.

In all this, I've had to set up Genymotion from scratch (since I have a new laptop, on which I hadn't set up Genymotion yet), for which the following were helpful insights:

  • In the Genymotion 'Settings' tab, there's an ADB section, where you can register the Android SDK.
  • Instead of localhost:8080, use http://192.168.56.1:8080 in all your client-side calls, i.e., search in your client-side code for 'localhost' and change it to 192.168.56.1, which is the default Genymotion protocol.
  • Probably you'll also need to switch off the firewall and anti-virus software, if problems continue.

NetBeans Zone - The social network for developers - September 22, 2014 01:17 PM
"Encouraging Programming in Kids" and NetBeans IDE

Preview Text:  Learn about EPIK and find out where NetBeans IDE is helping! Legacy Sponsored:  unsponsored

Adam Bien - September 22, 2014 06:51 AM
JavaOne, JUG, Q&As and Airhacking--Free Events, Sessions and Workshops

At JavaOne I'm speaking at the following sessions:

  1. Java EE 8 Community Update and Panel [CON2131] details / preenroll
  2. Productive JavaFX 8 [CON2265] details / preenroll
  3. Enterprise Nashorn [CON2266] details / preenroll
  4. Unorthodox Enterprise Practices [CON2301] details / preenroll
  5. Free Java Tools for Maven and Java EE [UGF8872] details / preenroll

All the sessions above have already around 100 pre-enrolled attendees. Hurry up, in the last years most of the sessions were full and only a few were repeated.

  1. Free event: 6th October, 6 P.M CET: 7th Airhacks Questions & Answers: With JavaOne coverage details / subscribe
  2. Free event: 16th October, 5.30 PM CET: Timisoara JUG Session: Hacking Opinionated JavaFX / Java 8 Apps details / subscribe

Special events at Airport Munich:

  1. 13th October, Munich Airport Java 8 with Java EE 7 workshop
  2. 14th October, Munich Airport Testing and Code Quality

Both workshops will take place--they are already well attended.

8th December - 12th December, Airport Munich: From Zero to Java EE with HTML 5--the "traditional" workshop series--already well attended.


Real World Java EE Workshops [Airport Munich]>

Geertjan's Blog - September 21, 2014 01:09 PM
Configure Data Source and GlassFish while Coding in NetBeans

I learned a lot from a new YouTube clip by Thomas Stütz, a teacher who uses NetBeans to teach Java at a secondary school in Austria. (A lot more about him here.) It turns out that NetBeans is even better integrated with GlassFish than I thought it was. The @Entity annotation, shown in the YouTube clip by Thomas, gives you access to a series of dialogs for defining the persistence.xml, which also let you define the database itself. Pretty cool. This is a movie well worth watching:

<span id="XinhaEditingPostion"></span>&amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;

I had a couple of problems following the scenario above on Windows 7. 

  1. Depending on the problems you run into, you may need to play with starting NetBeans, GlassFish, and the registration of GlassFish only after starting NetBeans via "Run as Administrator", as discussed here

  2. Make sure to include a default constructor in the entity class, as mentioned here.

  3. You may need to use the "eclipselink.target-database"="Derby" property in your persistence.xml, as described here
However, in the end, after figuring out various problems via the links above, I was really impressed with the fact that so much can be done directly from the Java Editor in the IDE, via the various yellow lightbulb hints in the left sidebar. Domain-driven development is really possible, when you combine Java EE with NetBeans IDE.

The next YouTube clip in the series by Thomas is focused on WildFly: https://www.youtube.com/watch?v=TxeQLifXv0k

Geertjan's Blog - September 20, 2014 11:19 AM
Where it all began...

Probably like most software-oriented people of my generation, I started out with a ZX Spectrum, purely as a game computer. One memory I have is of the "z" and the "x" keys on the keyboard being worn down to invisibility because we (my brothers, sister, and I) would use them excessively to move forward the little running guys in 'Daley Thomson's Decathlon'. 

And possibly unlike most of that generation I have an actual photo of those early days. It must have been around 1989 and I was around 18:

Notice the attributes of the time, including the tapes on the left, each containing a game, and the tape recorder on the right with which the tapes (i.e., actual casette tapes) were loaded, with a staticky high pitched squealing sound that is more than anything the soundtrack of my youth...

Geertjan's Blog - September 19, 2014 06:11 PM
Published: JavaFX Rich Client Programming on the NetBeans Platform

Gail and Paul Anderson (interviewed a few days ago here) passed on the happy news to me today. The eBook of JavaFX Rich Client Programming on the NetBeans Platform is available now. The physical tree based book (i.e., in addition to the eBook, there will be a treeBook!) will be available from the end of the month, when it will be released during JavaOne 2014. If you'll be at JavaOne 2014, please come to the book signing at the JavaOne bookstore, Tuesday, September 30, 15:30 PM - 16:00 PM.

The book guides you in a lot of detail, with many samples, to the creation of this application:

Here's the Google link (no formats specified, but devices listed):

http://books.google.com/books/about/JavaFX_Rich_Client_Programming_on_the_Ne.html?id=-WSJBAAAQBAJ

Also, on the publisher's site (formats EPUB, MODI, PDF):

http://www.informit.com/store/javafx-rich-client-programming-on-the-netbeans-platform-9780321927712

And Kindle on Amazon:

http://www.amazon.com/JavaFX-Client-Programming-NetBeans-Platform/dp/0321927710/

Take note that the links above also provide access to quite a lot of free sample materials, e.g., complete and partial chapters, to give you a taste of the book's more than 900 pages providing clear explanations and heaps of code samples in the context of the Family Tree application. 

I had the honor of writing the foreword to the book. Here it is, hope it gives a sense of how awesome and useful this book is!

Congratulations, Gail and Paul, and to Greg Doench from Prentice Hall for having faith in this project!

Adam Bien - September 19, 2014 07:29 AM
#2 NetBeans Rocks: Maven, Ant, HTML 5 Support

Disclaimer: No additional plugins or custom configuration were used in this screencast :-)


Real World Java EE Workshops [Airport Munich]>

Michael's blog » NetBeans - September 18, 2014 09:22 PM
Source code available

I finished the chapter “Internationalization and Localization” of my book “Web Development with Java and JSF” [1] . Now the book reached about 250 pages. Source code for the applications as described so far is available from [2]. Developed with … Continue reading

Adam Bien - September 18, 2014 11:42 AM
TomEE PluME--Like GlassFish But With Commercial Support

TomEE 1.7.1 Plus with Mojarra and EclipseLink (PLUME) feels like GlassFish 3 (Java EE 7 is not supported yet by TomEE), but comes with commercial support.

TomEE 1.7.1 PLuME is regular TomEE plus with Mojarra and EclipseLink.

I just deployed some JAX-RS, EJB 3, CDI, JSF, JPA (EclipseLink) applications developed on GlassFish to TomEE PluME and it worked without any modifications. TomEE works well with NetBeans 8+ -- just add an existing instance as a Tomcat server and you will be able to deploy straight from NetBeans.

The great story about Java EE is: when one vendor loses its commercial interests, several others (WLP, WildFly) can easily step in. The vendor lock-in is minimal.

See you at Java EE Workshops at Munich Airport (Terminal 2) or on demand and in a location very near you: airhacks.io!


Real World Java EE Workshops [Airport Munich]>

Geertjan's Blog - September 18, 2014 07:00 AM
Anagram Game Meets DukeScript

The DukeScript implementation of the Anagram Game (one of the Java Swing samples that has been bundled with NetBeans IDE since forever), by Jaroslav Tulach:

Deployed to JavaFX browser:

Download it here.

APIDesign - Blogs - September 17, 2014 08:06 AM
True Cross-Platform Development in Java

Here is a picture of the CRUD demo being deployed to iPad, Android phone, Safari browser, running in a JavaFX webview (being debugged from NetBeans) and also in an iOS simulator.

Congratulation DukeScript! Such portability is great. And don't forget your Java application can do the same - start with this tutorial!

--JaroslavTulach 08:06, 17 September 2014 (UTC)

NetBeans Zone - The social network for developers - September 17, 2014 08:00 AM
Interview: "JavaFX Rich Client Programming on the NetBeans Platform"

The Anderson Software Group, Inc. (www.asgteach.com), consisting of Gail and Paul Anderson, is a company that specializes in training, writing books, and training videos. The training courses provide the feedback for teaching strategies and exposure to real­‐life software requirements that organizations have. That is used to help in book writing.  Paul Gail Preview Text:  ...

Geertjan's Blog - September 17, 2014 07:00 AM
YouTube: FindBugs 3.0 for Java 8 in NetBeans IDE 8.0.1

FindBugs 3.0 supports Java 8 and, since NetBeans IDE 8.0.1 bundles FindBugs 3.0, it now also supports FindBugs for Java 8 code!

&amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;quot;&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;

NetBeans Zone - The social network for developers - September 16, 2014 11:30 PM
NetBeans Weekly News (Issue #657 - Sep 16, 2014)

Project News NetBeans IDE 8.0.1 Now Available for Download The NetBeans Team has released NetBeans IDE 8.0.1, with significant enhancements to features relating to HTML5, JavaScript, and CSS3. Download it today! How to Upgrade to NetBeans IDE 8.0.1? Watch a new YouTube clip, around 4 minutes in length, to help you get started migrating from NetBeans IDE 8.0 to 8.0.1. Preview...

Geertjan's Blog - September 16, 2014 07:00 AM
Developer.com: Lambdas & Method References in NetBeans IDE 8

Two great new articles have recently been published on Developer.com about lambdas and member references (method references and constructor references) in NetBeans IDE 8.

http://www.developer.com/java/programming-with-lambdas-in-netbeans-8.html 

http://www.developer.com/java/programming-with-member-references-in-netbeans-8.html 

Read them today! 

Geertjan's Blog - September 15, 2014 07:31 PM
YouTube: Karma Istanbul Code Coverage in NetBeans IDE

I mentioned it before, but now that Karma Istanbul Code Coverage is part of NetBeans IDE, I thought I'd make a small movie about it:

&lt;span id=&quot;XinhaEditingPostion&quot;&gt;&lt;/span&gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;span id=&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;XinhaEditingPostion&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/span&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;

Also, good to explicitly state the configuration information I'm using above. Here is 'my.conf.js':

module.exports = function (config) {
    config.set({
        basePath: '', autoWatch: true,
        frameworks: ['jasmine'],
        files: ['app/*.js','test/spec/*.js'],
        browsers: ['Firefox'],
        plugins: [
            'karma-script-launcher',
            'karma-firefox-launcher',
            'karma-jasmine',
            'karma-coverage',
            'karma-junit-reporter'
        ],
        reporters: ['progress', 'coverage'],
        coverageReporter: {
            reporters: [{
                    type: 'cobertura',
                    dir: 'coverage/',
                    subdir: 'firefox',
                    file: 'firefox.xml'
                },{
                    type: 'json',
                    dir: 'coverage/',
                    subdir: 'json',
                    file: 'coverage.json'
                }]
        },
        preprocessors: {'**/app/*.js': ['coverage']},
        singleRun: true
    });
};

And here is the 'package.json' content:

{
    "name": "coverage-jasmine-istanbul-karma",
    "description": "Example of code coverage of Jasmine tests using Istanbul and Karma",
    "main": "sqrt.js",
    "version": "0.0.1",
    "engines": {
        "node": ">=0.8.0"
    },
    "repository": {
        "type": "git",
        "url": "http://github.com/ariya/coverage-jasmine-istanbul-karma.git"
    },
    "devDependencies": {
        "karma": "~0.10",
        "karma-coverage": "~0.2.6",
        "protractor": "^1.1.1",
        "http-server": "^0.6.1",
        "bower": "^1.3.1",
        "shelljs": "^0.2.6",
        "karma-junit-reporter": "^0.2.2"
    },
    "scripts": {
        "test": "node_modules/.bin/karma.cmd start my.conf.js"
    }
}

On Windows 7, I can't upgrade from Karma 0.10 for this reason.

APIDesign - Blogs - September 15, 2014 05:48 PM
Lambdas Go Bck2Brwsr!

Bck2Brwsr 0.10 has just been released. The most important thing to note is that it handles JDK8's lambdas. See the illustrative video:

The JDK emulation library is still based on JDK7, so don't expect your streams & co. code to run. I'll update to JDK8 after JavaOne2014. Meanwhile enjoy lambdas in your own APIs!

--JaroslavTulach 17:48, 15 September 2014 (UTC)