MC Press Online

Wednesday, Apr 26th

Last updateWed, 26 Apr 2017 9am

Programming / Java

Book Review: Java for RPG Programmers

If you've been putting off learning Java, you have no excuse anymore!

joe plutaWritten by Joe Pluta

Java for RPG Programmers has been popular for over a decade. This unique book manages to bridge the gap between the procedural nature of RPG and the sometimes mysterious world of Java and object-oriented programming (OOP). This Third Edition is a worthy entry in the book's history.

 

The problem for RPG programmers is that most Java books don't differentiate between application programming and system programming. Java has a dual nature: Java experts use the advanced features of the language to build system-level routines, and application programmers use those routines to build applications. Most RPG programmers need the latter explained in familiar terms.

Read more ...

TechTip: Getting Your Feet Wet with Java

Java debuted in 1996—and while almost 20 years old, it's simply amazing how it continues to redefine itself and stay relevant. Still haven't tried it? No worries. Take a peek inside to see what Java can offer you!

Written by Joe Cropper

Java has been around for quite some time now, and several recent polls suggest that Java is the top programming language that job seekers should know. That said, whether "the top" is Java, C++, Python, etc., the point is that Java is as relevant now as ever, so it's definitely something worthy of a presence on your resume.

Read more ...

TechTip: Six New Things You May Not Know About Java EE 7

Learn about some of the key new features in the highly anticipated release of Oracle's Java EE (Enterprise Edition) 7 and see how they can help you create modern-day Web applications.

Written by Joe Cropper

Java EE 7 was released in June 2013, and it represents the latest major release of the Java EE platform, which has certainly come a long way since the early days of J2EE. Java EE's focus has always been on simplifying server-side enterprise applications, allowing developers to focus on the application business logic rather than on non-business-relevant "boilerplate" code.

Read more ...

TechTip: WRKJVMJOB: Who's Been Running Java in My Shop?

More and more Java is running under the covers on IBM i shops, and this command helps you see where.

joe_plutaWritten by Joe Pluta

Even as more and more shops embrace Java, they find that Java doesn't quite fit into the work management framework we've become familiar with on the IBM midrange platform. Specifically, WRKACTJOB just doesn't work the way we need it to. But as of version 6.1, we now have a new tool, WRKJVMJOB.

Read more ...

TechTip: Let IBM i Apps Access Microsoft Access with Jackcess

Use the open-source Jackcess Java library to allow IBM i applications to natively read and write Access database files.

Written by Michael Sansoterra

Many IBM i developers are aware of the Apache POI Project, which maintains Java libraries that can read and write Microsoft Office files, including Word, Excel, and PowerPoint (with work being done for Outlook messages, Visio, and Publisher documents). These libraries enable Java developers to create or modify Office documents. One important Office application excluded from this list is Microsoft Access. However, an open-source project called Jackcess fills this gap by providing a Java library that can be used to read and write data within Access databases.

Read more ...

Cool Things: Java Prototypes Made Easy

Take the fast path to calling Java methods from RPGLE programs.

mike_faustWritten by Mike Faust

The ability to use Java classes from an RPGLE program can open up a whole new world of capabilities. One big reason Java classes are such a great option is the number of open-source Java classes available to give you the ability to do things like create PDF files or access Microsoft Office documents. The challenge to accessing these classes in your RPGLE programs can be translating the prototypes for the required Java classes into a compatible RPGLE prototype. The good news is that WebSphere Development Studio Client (WDSC) will do all of the hard work for you. In this tip, we'll explore exactly how to do this.

Read more ...

TechTip: Some Top Features from Java 7

joe_plutaJava 7 is the first major release of Java in half a decade, but even so it's more of a stage-setter than a real blockbuster.

Written by Joe Pluta

After a decade of pretty regular bi-annual major releases, Java went into a lull from 2006 on. The Java 6 release, known as Mustang, saw a number of incremental releases, but even those slowed this year. The last few releases mostly consisted of the ubiquitous "improved performance and stability" and an update to the Tunisian time zones. And no, I'm not kidding about that! A significant portion of the releases to Java in the past year or so have been time zone updates. The biggest change other than time zones came in the latest update, number 27: Firefox 5 is now a certified browser version.

Read more ...

Building Mobile Apps with ToolboxME for iSeries

With minimal Java skills, you too can build an application to access IBM i resources from a wireless device.

chris_smithWritten by Chris Smith

With all of the iPhone, Android, and BlackBerry applications available today, and many of the major banks and retailers building their own mobile applications for customers, it's only a matter of time before developers are faced with questions about mobile access to IBM i servers.

Read more ...