NetBeans and Java EE: Application servers

Starting development with NetBeans and Java EE is really simple. Just install a Java development Kit (JDK) and the NetBeans Java EE edition. The full Java EE stack is available to you, including GlassFish application server.

If you’re using Microsoft Windows as operating system, GlassFish is installed below the „Program Files“ folder. In an enterprise environment, the installation is often provided by administrative stuff whereas you might not have write access to this directory. In such situation, how would it be possible to deploy an application to that server? Weiterlesen

Veröffentlicht unter NetBeans | Hinterlasse einen Kommentar

NetBeans and Java EE: Code navigation

NetBeans offers some shortcuts for code navigation. Click the mouse pointer onto a method name (or focus the name by keyboard) and press Alt-F7. This finds all usages of this method.

Focus the usage of any method and press Ctrl-B takes you to the definition of this method.

So far, this is just behavior of a good Java editor. But what about Java EE?

Java EE covers JSF as web frontend technology. Within your webpages you may use methods. Ctrl-B takes you from such a usage within your (X)HTML directly to the Java definition. And Alt-F7 on the Java method finds the usages within your pages.

Enjoy!

Veröffentlicht unter NetBeans | Hinterlasse einen Kommentar

NetBeans and Java EE

NetBeans [1] is a free IDE, which originally focused on Java. Thinking of web development, the developer also needs to deal at least with CSS, HTML and JavaScript. Thinking of the JVM, there are Clojure, Groovy, Scala and others. NetBeans supports them as well, mainly by its powerful plugin system. Beside that, NetBeans offers strong support for languages like C(++) and PHP.

Although NetBeans today supports a couple of different languages, the main focus is to integrate well. Modern applications are commonly web applications, or at least contain a web based user interfaces. The Java Enterprise Edition is a de facto standard to built business and industrial applications (to avoid a holy war: beside Jave EE other software exists to perform theses tasks). NetBeans offers excellent support for this edition. Simply download the NetBeans Java EE edition and you might use the full software stack out of the box.

I want to present some useful small features of NetBeans, tips and tricks for the development with Java EE. I’m going to start a loose series in this blog soon.

Enjoy and stay tuned!

 

[1] netbeans.org

Veröffentlicht unter NetBeans | Hinterlasse einen Kommentar

JSF LoopProblem

I inserted a chapter called Intermezzo into my book, which tackles some common aspects of JSF. Unlike the other chapters it is not specific to one of the discussed web applications. Today I described a problem with repetitive structures. A demo for the different loop handlers is available for download. Weiterlesen

Veröffentlicht unter Books, NetBeans | Hinterlasse einen Kommentar

Parallel 2015

For the second time, I visited the parallel conference (Parallel2015) [1]. This conference gave a great inside into the state of art of parallel and concurrent programming. Read my report online [2] (Ger). I talked about „Java Lambdas and (parallel) Streams“. You may download my slides from this site [3] (Ger).

To prepare my talk, I created a demo project using NetBeans. Try out its great support for Lambdas and Streams!

 

[1] parallelcon.de
[2] www.heise.de/developer/artikel/developer_artikel_2633437.html
[3] LambdasAndStreams

 

Veröffentlicht unter NetBeans, Other, Programming | Hinterlasse einen Kommentar