Java

How To Optimize Your Tomcat Installation on Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How To Optimize Your Tomcat Installation on Ubuntu 14.04

Tomcat is a popular implementation of the Java Servlet and JavaServer Pages technologies. It is released by the Apache Software Foundation under the popular Apache open source license. Its powerful features, favorable license, and great community makes it one of the best and most preferred Java servlets.

Read more
JDBC Tutorial — step-by-step Programming tutorial on Progressive Robot

JDBC Tutorial

URL: https://www.progressiverobot.com/jdbc-tutorial/ Welcome to JDBC tutorial. Java DataBase Connectivity (JDBC) is one of the most widely used API in enterprise applications. This is because most of the applications use some sort of database connectivity. I have recently posted a lot of JDBC tutorials related to basic JDBC, DataSource and it's integration with Spring Framework. JDBC […]

Read more
Garbage Collection in Java — step-by-step Programming tutorial on Progressive Robot

Garbage Collection in Java

Garbage collection in java is one of the advance topic. Java GC knowledge helps us in fine tuning our application runtime performance. Garbage Collection in Java In Java, the programmers don't need to take care of destroying the objects that are out of use. The Garbage Collector takes care of it. Garbage Collector is a […]

Read more
Mockito Mock Static Method - PowerMock — step-by-step Programming tutorial on Progressive Robot

Mockito Mock Static Method – PowerMock

URL: https://www.progressiverobot.com/mockito-mock-static-method-powermock/ Mockito allows us to create mock objects. Since static method belongs to the class, there is no way in Mockito to mock static methods. However, we can use PowerMock along with Mockito framework to mock static methods. Mockito Mock Static Method using PowerMock PowerMock provides different modules to extend [Mockito framework](/community/tutorials/mockito-tutorial) and run […]

Read more
How to Compile and Run Java Program from another Java Program — step-by-step Programming tutorial on Progressive Robot

How to Compile and Run Java Program from another Java Program

Have you ever thought if it's possible to compile and run a java program from another java program? We can use Runtime.exec(String cmd) to issue commands to the underlying operating system. We will use the same approach to compile and run a java program from another java program. Compile and Run Java Program from another […]

Read more
Java RandomAccessFile Example — step-by-step Programming tutorial on Progressive Robot

Java RandomAccessFile Example

URL: https://www.progressiverobot.com/java-randomaccessfile-example/ Java RandomAccessFile provides the facility to read and write data to a file. RandomAccessFile works with file as large [array of bytes](/community/tutorials/string-byte-array-java) stored in the file system and a cursor using which we can move the file pointer position. Java RandomAccessFile !Java RandomAccessFile, RandomAccessFile in java, Java RandomAccessFile read write append example RandomAccessFile […]

Read more
CHAT