SAPUI5 is a new user interface technology from SAP that is based on the open standards HTML5 and CSS3, the JavaScript scripting language, and the jQuery library. This blog talks about how to install SAPUI5 in Eclipse IDE. SAP has
String is immutable in Java
What is an immutable class? An immutable class once instantiated cannot be modified. For example, String is immutable in Java. What is meant by the statement; An immutable class cannot be modified? Let’s try to understand. Once a java.lang.String object
How to attach JDK source code in Eclipse
Often while debugging Java applications, it is required to view the source code of standard Java classes. This post describes how to attach JDK source code in Eclipse IDE. Step 1 Open Eclipse and go to Window -> Preferences Step
How to enable auto formatting in Eclipse
After creating a custom code formatter in Eclipse, as discussed in my previous post How to create and share Eclipse code style formatter, it is now time to put that code formatter in action. Code formatting should be an automatic
How to add System Landscape Directory in SAP Netweaver Developer Studio
To import development configuration from the System Landscape Directory (SLD) in SAP Netweaver Developer Studio (NWDS), the prerequisite is to maintain the SLD URL in NWDS. Following are the steps to do so: Step 1 Open NWDS and in the
How to solve java.lang.OutOfMemoryError: Java Heap Space
If a program throws the error java.lang.OutOfMemoryError: Java heap space, it simply means that the program while running has exhausted all the heap space and even the garbage collector has not been able to reclaim the heap space from unused
How to increase JVM heap size in Eclipse
As discussed in my blog How to solve java.lang.OutOfMemoryError: Java Heap Space, if a Java program running in Eclipse throws java.lang.OutOfMemoryError: Java heap space, one of the solutions to solve this error is to assign more memory for JVM. Following
How to create and share Eclipse code style formatter
Eclipse has a default Java code formatting profile, known as Eclipse [built-in], which it uses to format code every time you press the combination keys Ctrl + Shift + F (on Windows) and ⌘ + ⇧ + F (on Mac).
When are classes loaded in Java
When a .java class is compiled, it gets converted into a .class file which sits in the file system of your computer waiting to be loaded into the Java Virtual Machine (JVM). Now the question is, When are classes loaded
How to find Heap size in Java
Java objects reside in a memory area called the heap. It is possible to know the memory specifications of heap in a Java program. In this blog, I’ll demonstrate how to find heap size in Java using the java.lang.Runtime class.