Java assignment by reference.
So we all know java .reference .It is an address that indicates where an object’s variables and methods are stored. Java spec says : Just before a reference to the newly created object is returned as the result, the indicated constructor is processed to initialize…
Json ResourceBundle in java
I published a lite version of Json ResourceBundle to my dormant git repository. Here is a Readme.md copy from that TL;DR Registering a custom ResourceBundle.Control extension forces JSON parser jars to be present in extension directory. This repo provides basic skeleton/raw code to overcome the limitation and support json…
Labeled code block in Java
In case you have forgot, about labeled statements in Java, here is the code reminder, try to figure it out about how the code compiles with url in code:
Convert Stream or File to String in Java
Probably converting a stream or file to String is one of the most common question asked when one starts using Java. Out of different solutions, the common one is to use BufferedReader .
Script to setup keystore for OWSM
In Fusion Middleware 11g/12c, user can very easily protect their services using OWSM policies. A number of these policies are message protection policies, And to invoke these services, client need to set up OPSS keystore service properly to be picked by owsm.
Accessing Twitter Resources Using OAUTH
OAuth is an Authorization scheme to protect resources. It is widely used to share private resources (e.g. photos, videos, contact lists) stored on one site with another site without having to hand out their credentials.
Resurrecting the dead ones in Java
In one of the puzzle at his blog site, Wouter came up with this java puzzle : Who came first Chicken or Egg. Here is the puzzle from his website:
Java Empty String
Post JDK 1.6, the new utility in String class reads as isEmpty().
Axis1 date datatype workaround
If you are handling a legacy system, using Axis (1.4) webservices you must have come across Java2WSDL and WSDL2Java tools.
Thread unsafe Format in Java
Recently I was asked by one of our team mate that during load testing, order creation was failing because of wrong inputs(One of the application I am working on is an Order Management Application)
Feed
- India
- World
- Live
- Cricket News
To find out more, including how to control cookies, see here Cookie Policy