String is Immutable, what does it mean ?

String is Immutable, what does it mean ? String is immutable: String objects in java is immutable. Meaning of immutable is it can not be changed or altered. In java, strings are immutable which means that string objects can not be modified or changed, instead new object will be created. Eg: public class Javadomain{ public static void main(String[] args) { String

227 total views, no views today

» Read more

Abstract class vs Interface in Java

Abstract class vs Interface in Java 1. Abstract class: Can have public, protected. Interface: Must have only public.[by default everything in interface will be public.] Example: // No exception [private is not allowed since we need to access and implement the methods] abstract class JdAbstractClass{ protected abstract void display(); public abstract void display1(); } //Exception [Illegal modifier for the interface

156 total views, no views today

» Read more

Installing Maven in eclipse

Installing Maven in eclipse: Maven can be installed in eclipse by two ways, 1. Through eclipse marketplace [Help -> Eclipse Marketplace] Search M2E or Maven Integration for Eclipse    M2E – Maven Integration for Eclipse then install this package. 2. Install New Software [Help ->  Install New software] Enter the below URL and select all then click next and finish

230 total views, no views today

» Read more

[Solved] could not create the java virtual machine

[Solved] could not create the java virtual machine   When this exception or error will occur ? If any configurations in the eclipse.ini file is wrong then this error could occur. Possible solution/Fix: [It worked for me when I had the same issue] If you have installed eclipse, then try to find the eclipse configuration file, which will be generally

184 total views, no views today

» Read more

[Solved] Connection will be closed due to unrecoverable error java.lang.OutOfMemoryError

[Solved] Connection will be closed due to unrecoverable error java.lang.OutOfMemoryError   Try to find the eclipse.ini file, which will be generally available in the eclipse folder. [where you have eclipse.exe file]. file name: eclipse.ini [file type: configuration settings] Find the below lines in the eclipse.ini file, -Xms40m -Xmx1024m   [or]   -Xms256m -Xmx1024m and change it to, -Xms512m -Xmx1350m Note:

264 total views, no views today

» Read more

AngularJS Hello world for Dummies

AngularJS Hello world for Dummies featured image

AngularJS Hello world for Dummies: AngularJS is an open source Model-View-Controller [MVC] Javascript framework initially created by Misko Hevery and Adam Abrons in 2009. Now google maintains this web application open source framework. AngularJS written using Javascript language. AngularJS extends HTML attributes by directives.   What is AngularJS? It is a javascript framework mainly used to create single page applications(SPA’s)

271 total views, no views today

» Read more

[solved] uioutput cannot be resolved to a type JSF

[solved] uioutput cannot be resolved to a type JSF: Error meaning is you did not import the UIOutput in your bean/controller. So you have to import the below UIOutput package, “import javax.faces.component.UIOutput;” to resolve the uioutput cannot be resolved to a type error/exception. If you are getting this exception in eclipse like in the below/similar line, String ajaxListValue = (String)

237 total views, 1 views today

» Read more

How to remove the deployed applications from RAD without starting/restarting the server ?

How to remove the deployed applications from RAD without starting/restarting the server ? Sometimes our websphere application server will not start/restart due to wrong configurations, permissions, already installed applications etc., But we may need to remove or uninstall the applications from the websphere, in that case we can remove it using the serverindex.xml file entries,  <deployedApplications>WebSphereWSDM.ear/deployments/WebSphereWSDM</deployedApplications> <deployedApplications>isclite.ear/deployments/isclite</deployedApplications> <deployedApplications>DefaultApplication.ear/deployments/DefaultApplication</deployedApplications> <deployedApplications>ivtApp.ear/deployments/ivtApp</deployedApplications> <deployedApplications>query.ear/deployments/query</deployedApplications>

256 total views, no views today

» Read more