Java Articles

Tom Snyder
Here are some articles that I have written that I hope you will find useful. The articles are a mix of multiple languages, including but not limited to RPG, Java, C#, C++ and PHP. You can find the articles published on MCPressOnline.com and some that are exclusive to this site. Enjoy!

Clean Up Your Eclipse Workspace

If you notice your workspace is growing and you want to reduce the amount of space it is consuming you could manually clean up your .metadata folder in your Eclipse workspace.

I use git for my code repository and backup my code regularly, so the less data to backup the better.

Prior to cleaning up your workspace, it's not a bad idea to back it up in case you have any issues after the cleanup you could roll back your deleted files.

Articles: 

Does Your Shop Participate in Code Reviews?

Feature Article - Developer Article

Produce better code and exchange knowledge with code reviews.

One of the most typical obstacles with the adoption of modern programming techniques in RPG shops is the fact that everyone is at a different level of knowledge in different areas. All programmers have their areas of work that they find important, and they may not always be in the same genre. With code reviews, you give all of the people with different flavors of programming styles the opportunity to share their knowledge with the others on the staff.


Read More >>

Why Use Embedded SQL Within RPG?

Feature Article - Developer Article

Let's evaluate the reasons you might want to take this approach.

You've heard about embedded SQL and maybe you've tried embedded SQL, but you may be asking yourself, "Why would I use embedded SQL?" That's the course that I have taken. Of course, when a new capability comes out, I am usually eager to start digging into it and figuring out how it works. And I have done that with SQL, but I couldn't easily find a reason to justify its use until recently.


Read More >>
Articles: 

Advanced Integrated RPG: Creating PDFs with RPG

Feature Article - Developer Article

Create a PDF "Hello World" program with RPG.

I hope you enjoyed my Video Tour presented on July 21 in which I discussed the possibilities of using Java with RPG to send email and to create Excel spreadsheets and PDFs. This article contains condensed excerpts from my book that will show you how to install the iText open-source project, which can be used to create PDFs right from within RPG.


Read More >>
Articles: 

Display Java System Attributes from Within RPG

Feature Article - Developer Article

Turn conceptual Java properties into definitive, concrete attributes.

When working with RPG in different environments, such as production and test, you will most likely be working with different library lists and using different versions of programs and files. To provide a sanity check for yourself, you will want to ensure that you're using the correct programs and files by validating the objects that are being used by the job. This article shows you some methods that I use to verify similar Java attributes when using Java with RPG, such as the currently running version of JVM and the class path that is being used.


Read More >>
Articles: 

Advanced Integrated RPG: Using Java with RPG

Feature Article - Developer Article

Create a Java "Hello World" program with RPG.

Welcome to Advanced Integrated RPG (AIR), where RPG and Java work together to provide RPG with all of the capabilities that Java has to offer. This article contains excerpts from my new book that will show you how to start the Java Virtual Machine (JVM) and display "Hello World" in RPG. This is a prerequisite to the upcoming article that will show you how to create PDFs from RPG!


Read More >>
Articles: 

Considering the World Beyond WebSphere

Feature Article - Developer Article

Evaluate your IBM i GUI options. Compare RPG, PHP, .NET, and Java

If you are a developer on the IBM i, you probably realize that one of the biggest demands from users is a better interface. And you've probably wondered what you should look at besides WebSphere. I know I have been pondering solutions for a long time. The problem in our shop has always been with the high reliability and superior quality of the system. That probably doesn't make sense. How could reliability and quality be a problem? Well, because of this, the system requires only a small amount of people to support a large group of users.


Read More >>

Advanced Integrated RPG: Providing Solutions to Meet Today's Industry

Feature Article - Developer Article

Integrate RPG and Java to take advantage of the latest technologies, such as Excel spreadsheets, Adobe files, and email.

When you look at your Original Program Model (OPM) programs and think about why these programs were developed, the goal was likely to provide comprehensive software that would withstand the test of time and produce solid, reliable results as the backbone for business-critical operations. If you were to focus solely on this aspect, you might not see the need to even bother using ILE. After all, you have a programming language that works, it has been around for a very long time, and it is easy to understand. So, let's consider some of the limitations of this way of programming and define the reasons why modernization of the code is necessary.


Read More >>
Articles: 

Being an RPG Programmer in Today's World

Feature Article - Developer Article

Are you facing unemployment as an RPG programmer?

I don't mean to jump on the bandwagon with yet another article about how the economy is affecting the job market, but I happen to be one of the many recently facing unemployment. I want to share my views on being an RPG programmer in today's world, whether you currently have a job or not.


Read More >>
Articles: 

Pages