Menu
Date

2015

Using Rating Gauge as Status meter in Oracle MAF

I got a scenario in one of my MAF apps where I need to show the percentage of user profile completed in a circular graphical view. So, I have used rating gauge component in MAF to show this. I felt this would be useful to you also, so I have made a video to explain the procedure.Click here to watch…

How to import certificates to weblogic server

Below is the procedure to be done to import certificates to weblogic server. Import or download the certificate to a local folder ex: D:myprojectsDocscertsfap0424.cer ; where fap0424.cer is my certificate Using below command, import the certificate to the weblogic server keytool -import -alias fap0424  -file D:myprojectsDocscertsfap0424.cer -keystore C:OracleMiddlewareJDev11.1.1.7.1wlserver_10.3serverlibDemoTrust.jks To verify the import, use below command which list out all the certificates…

java.sql.SQLException: stale connection

If you are getting the exception “java.sql.SQLException: stale connection” then you should check whether the Connection object is closed anywhere in the app and you are trying to access the same object. In this case, the object is closed and no longer available, so you can not do any execution on that object. Solution is to create a fresh connection…

Connecting Git hub with JDeveloper

This post is to learn how to connect Git hub server to JDeveloper. Github is providing a Github Desktop client to connect github repository. But if you are a JDeveloper user, then you can also connect the repository from the JDeveloper. I am using JDeveloper version: 12.1.3.0.0 in this example and below is the procedure to do it.Open the JDeveloper….

WriteFiles – a java tool to integrate multiple text files into a single file

WriteFiles is a java tool to integrate multiple text files into a single file. In some scenarios like where we need to copy all source code  or text files into a document or a text file, it is difficult to copy the content of all the files manually. For example, if you take java application where there will be several…

InAppBrowser in Oracle MAF using Cordova plug-in

This post is to show how to implement In-app browser in MAF using Cordova plugin.If you have a url in the app, on click of the url, the URL will be open in a browser but if you want to come back to the app, you have to open your app tray and select the app. If you implement in-app…

Word Type Count – a java tool to count words in a given string

“Word Type Count” is a tool developed in Java, useful to count number of occurrences of each word in the given String. It also counts the total number of words in the given string. The tool would look like as below. Download the java program from here. For example, in the above screen, we could see the input string “This…

Java program to create Zip files

Java By Jun 19, 2015 No Comments

In this post, I wanted to show how to create a zip file using a java program. In this example, input to the program is test.html and out put would be outFile.zip which contains the given test.html.The same program can be downloaded from here. /*Program to create .zip files<br /> * Author: Anand Y<br /> */</p> <p>import java.io.*;<br /> import…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.