Tuesday, 25 December 2012

toString() method in java


What is toString() method? or define toString() method?

Returns a string representation of the object.
In general, the toString method returns a string that "textually represents" this object.
The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.


One of the standard methods defined in java.lang.Object is toString().


Syntax of toString() method?

public String toString()

Returns:

a string representation of the object.


How do you write your own toString methods?

toString() method example::

Monday, 24 December 2012

what is Apache ant tool?

what is ant tool?


Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks.
Ant is written in Java. Users of Ant can develop their own "antlibs" containing Ant tasks and types, and are offered a large number of ready-made commercial or open-source "antlibs".
Ant is extremely flexible and does not impose coding conventions or directory layouts to the Java projects which adopt it as a build tool.

Thursday, 13 December 2012

Walk in on this weekend on 15-Dec-2012 (Saturday) in Noida





Dear All,

We have always appreciated the efforts you been putting in by referring the right candidate. We are looking forward your support in bringing in right associates.

We are announcing Walk in on this weekend on 15-Dec-2012 (Saturday) in Noida  for the following skills :

Skills
Experience
Joining Location
Interview  Location
HTML/CSS
4- 7  Years
Noida/ Pune
Noida
Android Developer
4- 7  Years
Noida
Noida
UI Designer
4- 7  Years
Noida
Noida
Mobility Architect
9+ Years
Noida/ Pune/ Bangalore
Noida

Please upload the resumes at EBS HR > Employee Self Service > Recruiting Activities > Refer a Buddy” by clicking on “Refer Buddy” button

For any queries, please drop a mail on helpdeskbuddy@techmahindra.com .

Link to Buddy process documents:


Please upload the CV on EBS and share the Buddy Applicant ID with your Buddy and invite them for the event.

Thanks,
Resource Management Group

Wednesday, 12 December 2012

java walkins on 15th dec 2012 and 16th Dec 2012

------------------------------------------------------------------------------------------------------------
DesignationSr. Java Developer- (drive on 15 th Dec 2012 Saturday in Hyderabad) )
Job DescriptionHi

We have openings for Java Developers for our company in Hyderabad and Chennai Locations.

Only Candidates who can be able to attend the F2F interview on 15th Dec 2012 Saturday can apply


Position; Sr. Developer

Location: Hyderabad/ Chennai

Exp: 4-7 yrs

NP: 60 days

Skill set:

  • Core java(OOPS, Swings, threading, Interfaces, Collections)
  • JavaJ2ee (JSP ,Servlets, EJB)
  • Struts/ spring/ Hibernate/ Web services

About Semantic :

SemanticSpace Technologies is a leading software services company that caters to diverse industry verticals. Founded in 1997, SemanticSpace's software engineers are providing solutions to enterprises across the globe. SemanticSpace's Technology Development Centers are located in Hyderabad, India, with sales offices across the USA to cater to its large clientele. With ISO 9001:2000 certified and SEI-CMMi Level 3 assessed company and excellent development teams, SemanticSpace has been successfully empowering its customers with innovative end-to-end technology solutions.
SemanticSpace's technology labs are built to provide Strategic Outsourcing services that include end-to-end product engineering services, enterprise solutions, packaged application implementation, QA & Testing services using popular tools & methodologies, and staff augmentation services. SemanticSpace leverages its enduring alliance with Microsoft as a Gold Certified partner while providing solutions to its customers. SemanticSpace specializes in developing strategic business solutions using its proven onsite-offshore delivery model - a stabilized project execution methodology using its homegrown tools PPM Studio (a collaborative, end-to-end, scalable, enterprise solution that helps in managing change from concept to delivery of a software project or solution) and QMWare (facilitates deploying high-quality applications quickly and effectively by better test management throughout the application testing cycle) to meet specific customer requirements.
SemanticSpace has consistently demonstrated its commitment to developing cost-effective, quality applications by adhering to strict time-lines. This has enabled SemanticSpace to work with some of the Fortune 200 / 500 / 1000 companies as their technology "Partner of Choice" on a continuous basis.
SemanticSpace is guided by a strong value system. These values nurture ethics empowerment, commitment and resilience and are practiced at every level. We provide "continuous value" to our customers through combination of mature processes, best practices and unique delivery models.
SemanticSpace as part of its growth strategy has recently acquired ARSIN Corporation, located in Silicon Valley. Arsin has a deep practice in SAP business process testing and markets a SAP regression test library and various other SAP testing solutions to reduce the time to solution. Arsin's solutions run around the globe at many Fortune 500 companies who are looking for a partner who sees enterprise software testing as a profound discipline in itself
For more information about the company please logon to www.semanticspace.com.

  Please revert with your updated CV with the following details.

Total exp:

Current CTC:

ExP CTC:

NP:

Date of Birth:

Reason for Change:

Current Location:

Preferred Location:

Available for drive(F2F Interview ):


Regards,
Sudheer
Talent Acquistion
Semanticspace
5th Floor, DHFLVC Silicon Towers, Kondapur, Hyderabad 500032
Work : 040- 39991581 l Cell : 9885911627 l sudheer_babu@semanticspace.com



A Global Provider of IBM, Microsoft and Testing Solutions
Award Winner for Technical Excellence, BPM, SOA, Portal and Governance


Desired ProfilePlease refer to the Job description above
Experience4 - 7 Years
Industry TypeIT Software, Software Services
RoleSoftware Developer
Functional AreaApplication Programming, Maintenance
EducationUG - Any Graduate - Any Specialization, Graduation Not Required
PG - Any PG Course - Any Specialization, Post Graduation Not Required
DOCTORATE - Any Doctorate - Any Specialization, Doctorate Not Required
LocationHyderabad / Secunderabad, Chennai
KeywordsCore javaJSPServletsCollectionsthreadingSpringStrutshibernateweb services
ContactSudheer K
Semantic Space
Survey # 14, 5th Floor Jayabheri Silicon Towers
Madhapur Road, Kondapur
HYDERABAD,Andhra Pradesh,India 500032
Telephone91-40-39991581
Websitehttp://www.semanticspace.com
-----@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---------------------------------------------------------------------------------------

Corporate Overview:
Established in 1990, Persistent Systems (BSE & NSE: PERSISTENT) is a global company specializing in software product development services. For more than two decades, Persistent has been an innovation partner for the world’s largest technology brands, leading enterprises and pioneering start-ups. With a global team of 6,700+ employees, Persistent has 300+ customers spread across North America, Europe, and Asia. Today, Persistent focuses on developing best-in-class solutions in four key next-generation technology areas: Cloud Computing, Mobility, BI & Analytics, Collaboration across technology, telecommunications, life sciences, consumer packaged goods, banking & financial services and healthcare verticals
Job Description
Job Title: Java / J2EE experts
Designation
Module Lead/Team Lead/Tech Lead
Roles & Responsibilities
  • Experience in Core Java with J2EE along with at least any one of the following - Hibernate, Spring, Struts, EJBs, Web Services.
  • 3+ years of relevant Java / J2EE development experience.
  • Good in Computer fundamentals like Data structures, Algorithms etc.
  • Should have hands on development experience with STL, threads and processes, memory management.
  • Database experience in Oracle, DB2, MySQL or MS SQL Server is a must.
  • Strong communication & analytical skills.
Experience Required3.5 to 10 Years

Education
BE / B.Tech / ME / M.Tech in CS or other branches of engineering or Equivalent
Job Location
Pune/Nagpur/Hyderabad/Goa
Walk-in Interview Location: PUNE
Date:15th & 16th Dec 2012
Time: 10 AM to 3 PM
Venue:
Persistent Systems Limited.Aryabhata, 1st floor
Persistent Towers,
Plot No: 9A/12,CTS No: 12 A/12,
Erandwana, Near Padale Palace,
Pune-411004.

---------------------------------------------------------------------------------------------------------
Java - Developer/lead - Interview @ Chen & Bglr on 16th Dec_201135 - 20 Opening(s) in HCL
----------------------------------------------------------------------------------------------------------
Java developers walkin on Mahindra Satyam on 15th dec 2012

Walk-in DetailsDate-15th December, Starting Time: 10 AM
DesignationJava Developer - Walkin
Job DescriptionMust have good communication skills and willing to work in 2nd shift (2 pm 10.30 pm)

Strong knowledge of J2EE/Java, JSP, Struts Design Patterns

Knowledge in Oracle, SQL, XML, UNIX, WebSphere

Skill: Java/J2EE, JDBC, JSP, JSF, Struts (Mandatory)
Desired ProfileExperience: 3 to 7 years

Job Location: Chennai

Documents to be carried for the interview:

Latest resume

2 recent passport size photographs

PAN Card copy

Last three months Pay slips and Form 16 related to your experience

Walk in on Dec 15th 2012 (Saturday) at CHENNAI Location from 10.00 AM to 3.00 PM.
Interview Location:

Chennai

Chennai Mahindra Satyam Campus(CMSC)
SDB1 Building, No. 602/3, ELCOT SEZ
138, Sholinganallur Village
Tambaram Taluk, Kancheepuram District
Chennai.

Landmark : Near Global Hospital / Mhd Sathak Engineering College

Contact Person: Krithiga_Elumalai / Lakshmi Narashiman
Experience3 - 7 Years
Industry TypeIT Software, Software Services
RoleSoftware Developer
Functional AreaApplication Programming, Maintenance
EducationUG - Any Graduate
PG - Any PG Course
DOCTORATE - Doctorate Not Required
LocationChennai
KeywordsJava DeveloperJ2EEJavaJSPStruts DesignOracleSQLXMLUNIXWebSphere
ContactHR
Mahindra Satyam
MSat CAMPUS -CMSC
Satyam Computer Services Limited
No. 602/3, ELCOT SEZ 138, Sholinganallur Village, TambaramTaluk Kancheepuram
CHENNAI,Tamilnadu,India 600019
Websitehttp://www.mahindrasatyam.com



----------------------------------------------------------------------------------------------------------

We have openings for JAVA professionals! 

Experience: 3 years and above 
Skills: Experience in Core Java design and development. 
 Experience in J2EE, EJB, JSP, Servlets, XML, XSLT, Struts, Hibernate, Web services and Weblogic. 

All the candidates should have secured 60% & above in all of the following or 70% & above in any two of the following: 
Secondary, Higher Secondary (or its equivalent) and Graduation level (aggregate). 

Note: 

The candidates should carry the following documents: 
•Updated Resume 
•Passport size photograph 
•Last 3 months salary slips 
•6 months bank statements 
•Appointment Letter or appraisal letter (whichever is the latest) mentioning the salary structure 


The details for the walk in are as follows: 
Date: Saturday, 15-Dec-12 
Time: 9:30 AM to 12:30 PM 
Venue: Cybage Software Pvt. Ltd (a CMMI Level 5 Company), Cybage Tower1, Kalyani Nagar, Pune 
----------------------------------------------------------------------------------

Walk-in Interview for Core JAVA/J2EE - Sr.software Engineer/Project Leader at L&T Infotech- Chennai on 15th December 2012 (Saturday)

http://jobsearch.naukri.com/job-listings-Walk-in-Interview-for-Core-Java-j2ee-at-L-T-Infotech-Chennai-Larsen-Toubro-Infotech-Ltd--Chennai-3-to-8-121212003232?xz=1_3_5&xo=&xp=2&xid=135533348273020000&qp=java+j2ee&id=&f=-121212003232


Job Description:
  • Coding in Core JAVA/J2EE, Swing, JDBC, J2EE.HTML
  • JAVA / J2EE Patterns. XHTML, HTML/JAVASCRIPT, CSS. SOA, SOAP, XML, XSL, Web services.
  • Oracle, SQL, Database Knowledge. One or more of the following: Terracotta servers; BEA Web logic 5.1.0, IBM Web sphere 3.5. Inprise Application Server, Open EJB Application Server
  • Object Oriented Programming (OOP) concepts. Knowledge of UML using tools such as Visio and Rational Rose OOD, UML Design.Tomcat, VSS, SVN open source technologies Highly
Desired Skills
Jasper Reports, iReport. Installer scripting using Null soft

Experience: 3 to 8 years

Mandatory Skill: Core JAVA/J2EE, Swing, JDBC

Work Location: chennai

Contact Person: SasiKumar.A

Interview Date: 15th December 2012 (Saturday)
Timings: 9.00 am 11.00 am

If your profile is suitable for the above requirement please walk-in to L&T Infotech

Venue Details:
Larsen & Toubro Infotech Limited
TC-3, A- Block
L&T Infotech Park
Mount Poonamallee Road,
Manapakkam, Chennai-600 089
Near MIOT hospital or Chennai Trade centre

Mandatory Documents:
1) Passport Size Photograph
2) Updated Resume
3) Last 3 months pay slip
4) Recent Hike Letter

Thanks,
TA Team, Chennai
Salary:
Not Disclosed by Recruiter
Industry:
IT Software, Software Services
Functional Area:
Other
Role Category:
Programming & Design
Role:
Software Developer
Keyskills:

Desired Candidate Profile
Education:
(UG - Any Graduate - Any Specialization, Graduation Not Required) AND (PG - Any PG Course - Any Specialization, Post Graduation Not Required) AND ( Doctorate - Any Doctorate - Any Specialization, Doctorate Not Required)
Please refer to the Job description above

-------------------------------------------------------------------------------------------------------------------------------------------------------------------


Monday, 26 November 2012

what is the difference between j2ee j2se and j2me?

Question :  what is the difference between j2ee j2se and j2me?

Answer:  

J2SE is Java 2 Standard Edition: Consists of the core libraries basically all of the packages like java.lang, java.util, etc. This edition is the heart of Java and both J2EE and J2ME depend on J2SE.

J2EE is Java 2 for the Enterprise: Consists of the Enterprise APIs such as JMS, EJB, JSPs/Servlets and  JNDI.

Java 2 Micro Edition::  this edition is for programming Java on devices such as handhelds, cell phones, set top boxes, toasters, etc. J2ME can use *most* of J2SE but not necessarily all of the J2SE libraries.

threads in Java


Question:  How do Java threads make the environment asynchronous?

Answer:      The thread mechanism in Java begins with the main entrypoint thread the runtime environment creates to start a Java program. When you use that initial thread create secondary threads, each one runs independently of the other. The Java virtual machine manages the execution of the threads so they behave as if they all run at the same time, in fact each thread briefly takes turns at execution.
In its simplest form there may be no communication or synchronization between multiple threads in a Java program and they each run to completion independently of each other. In this respect Java threads are fundamentally asynchronous, there is no master clock that governs when threads will run and when they synchronize variables to “catch-up” with each other.
        It is often necessary and more useful if threads do check ready states before progressing, synchronize read and write access to shared variables and call-back to each other when their work is done. This is where thesynchronized keyword and the various sleep()wait() and notify()methods are used to more closely schedule the interaction between asynchronous threads.

Sunday, 25 November 2012

Errors on ANT Script

sloution to ANT build error "error during FTP transfer: j ava.net.ConnectException: Connection refused: connect"

This is my personal experience, when I am tying to  access the Unix server through FTP, I got the below error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\ant_scripting\apache-ant-1.8.2\build.xml:20: Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig at org.apache.tools.ant.taskdefs.optional.net.FTP$LanguageCode.getValidLanguageCodes(FTP.java:2693)
        at org.apache.tools.ant.taskdefs.optional.net.FTP$LanguageCode.(FTP.java:2689)
        at org.apache.tools.ant.taskdefs.optional.net.FTP.(FTP.java:135)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328)
        at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274)
        at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219)
        at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206)
        at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:286)
        at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264)
        at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:417)
        at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
        at org.apache.tools.ant.Task.perform(Task.java:347)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
solution which I have find to avoid this error was given below:

1. To run FTP command  by using ant script, you must have to down load the commons-net-1.4.1.jar file.
  click here to down load the file, please make sure to download the jar file according to your JAVA version,
Find more details on the Apache  link.
2. please make sure to put the jar file in the class path. and run the script, oops you won't get any error now.

please put your comment in case of any issues.