Java Experts Community-JEC

Java Experts Community-JEC It is a Java community where java learners and experts can learn as well as share their knowledge...

01/01/2015

Wish U Happy New Year 2015,,,,

25/12/2014
25/12/2014

ClassNotFoundException Vs NoClassDefFoundError
-------------------------------------------------------------------
ClassNotFoundException : ClassNotFoundException occurs when class loader could not find the required class in class path . So , basically you should check your class path and add the class in the classpath.

NoClassDefFoundError : This is more difficult to debug and find the reason. This is thrown when at compile time the required classes are present , but at run time the classes are changed or removed or class's static initializes threw exceptions. It means the class which is getting loaded is present in classpath , but one of the classes which are required by this class , are either removed or failed to load by compiler .So you should see the classes which are dependent on this class .

Dear Member of Santosh Technologies(MOST),Sontosh Sir is in the process of preparing group of SANTOSH TECHNOLOGIES alumn...
29/11/2014

Dear Member of Santosh Technologies(MOST),

Sontosh Sir is in the process of preparing group of SANTOSH TECHNOLOGIES alumni .
So he has a favor to ask of you .
Could you spare a few moments filling up the following form .

http://santoshtechnologies.com/AlumniDetails.aspx

if you dont mind please share this message to all our MOST.
Thank you .

SANTOSH TECHNOLOGIES is a leading Global Talent Development Corporation offers training solutions in IT, Business Process Outsourcing, Executive Management Education, and Communication & Professional Life Skills. SANTOSH TECHNOLOGIES Individual Learning Solutions include industry-endorsed IT trainin…

08/07/2014

Thanks Javin Consistent lock acquisition ordering prevents deadlock indeed.

07/07/2014

Advantage of UNIX os over MicroSoft os ?
----------------------------------------------
1.MultiUser (Ms also)
2.MultiTasking (Ms also)
3.OpenSystem(Source code is available)
4.No Down Time(There is no time limit ,But Ms os system after some time automaticaly shutDown and restart again
eg:-after installing a software in ms os it need to restart again to provide the Service of installed s/w )
5.No limit User(Limited user can access the Ms os system/server)
6.Free From Virus
etc..........................

07/07/2014

Difference betweenn Gof Singleton and Spring Container Singleton
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
The GoF Singleton hard codes the scope of an object such that one and only one instance of a particular class will ever be created per ClassLoader.
-----------------------------------------------------------------------------------
The scope of the Spring singleton is best described as per container and per bean. This means that if you define one bean for a particular class in a single Spring container, then the Spring container will create one and only one instance of the class defined by that bean definition. The singleton scope is the default scope in Spring

05/06/2014

Guide to naming conventions on groupId, artifactId and version
----------------------------------------------------------------------
groupId will identify your project uniquely across all projects, so we need to enforce a naming schema. It has to follow the package name rules, what means that has to be at least as a domain name you control, and you can create as many subgroups as you want. Look at More information about package names.
eg. org.apache.maven, org.apache.commons

A good way to determine the granularity of the groupId is to use the project structure. That is, if the current project is a multiple module project, it should append a new identifier to the parent's groupId.

eg. org.apache.maven, org.apache.maven.plugins, org.apache.maven.reporting

artifactId is the name of the jar without version. If you created it then you can choose whatever name you want with lowercase letters and no strange symbols. If it's a third party jar you have to take the name of the jar as it's distributed.
eg. maven, commons-math

version if you distribute it then you can choose any typical version with numbers and dots (1.0, 1.1, 1.0.1, ...). Don't use dates as they are usually associated with SNAPSHOT (nightly) builds. If it's a third party artifact, you have to use their version number whatever it is, and as strange as it can look.
eg. 2.0, 2.0.1, 1.3.1

Address

Hyderabad

Website

Alerts

Be the first to know and let us send you an email when Java Experts Community-JEC posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share