Blog Archives

♥ ♦ Can you list 10 JEE best practices from your experience?

Core Java best practices and JEE best practices can reveal a lot about your experience as a Java developer. Q1. Can you list 10 JEE best practices from your experience? A1. #1: Using datasources with JNDI lookups DataSources make the

Posted in Best Practice Tagged with:

♥ 5 tips that will put your Java contracting career on auto-pilot mode

If you are already working as a Java freelancer/contractor or aspiring to become one, here are 5 tips that will put your freelancing career as a programmer on auto-pilot mode. Feel free to share your experience and tips as a

Posted in Earning More, Freelancing & job security Tagged with: ,

♥ Top 10 causes of performance issues in Java

Cause #1: The JVM spends more time performing garbage collection due to improper Garbage Collection (GC) configuration. E.g. Young generation being too small. Heap size is too small (use -Xmx). The application footprint is larger than the allocated heap size.

Posted in FAQs Java Key Areas, Performance Tagged with: , ,

♥ Top 11 slacknesses or mistakes that can come back and bite you as an experienced Java developer

Production issues seek the attention of middle and top level management. Here are a few things that you must pay attention as a software developer or architect to prevent any future embarrassments. You can use this as a check list.

Posted in Java Architect Q&As, QoS Tagged with:

♦ 17 Java Coding Tips for job interviews and pre-interview coding tests

Java coding questions are very common in job interviews. Good coding skills are essentials for passing the peer code reviews with flying colors. Here are 17 coding tips with Java examples. Tip #1: If you are asked to write a

Posted in Can you write code?, Coding Tagged with:

01: ♦ 12 Web basics every Java web developer must know

Q1. HTTP is a stateless protocol, so how do you maintain state? How do you store user data between requests? A1. This is a commonly asked interview question. The “http protocol” is a stateless request/response based protocol. You can retain…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs JEE, member-paid, Web basics Tagged with: , , ,

02: ♦ 13 Tips to write low latency applications in Java

Extends Writing low latency applications in Java interview Q&As. If the job description says “low latency” application, then be prepared. Even if “low latency” experience is not a requirement, all employers like candidates who can not only build systems that…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs Java Key Areas, Judging Experience Q&As, Low Latency, Low latency & Asynchronous, member-paid, Performance, Scalability Tagged with:

04: ♦ Top 10 most common Core Java beginner mistakes

Mistake #1: Using floating point data types like float or double for monetary calculations. This can lead to rounding issues. In the above code, 2, 4, and 5 are correct and 1 and 3 are incorrect usage leading to rounding…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Java Overview, member-paid Tagged with: , ,

04: ♦♥ 5 FAQs on transforming your thinking from OOP to FP

One needs to get used to the transformation from imperative programming to functional programming. You like it or not, you will be using functional programming in Java, and interviewers are going to quiz you on functional programming. Fortunately, Java is

Posted in FAQs OOP & FP, FP, Java 8 Tagged with: ,

07: Q33 Top 5 OOP tips for Java developers

Tip #1: Tightly encapsulate your classes. A class generally contains data as well as methods, and is responsible for the integrity of its own data. The standard way to protect the data is to make it private, so that no other…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in member-paid, OOP Tagged with:

10 Core Java Best Practices with an industry strength code sample

Best Practices is one of the key areas, and often you can impress your interviewers, peers, and code reviewers by applying the best practices to your code. If you are an interviewer, you can show a piece of code that…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Best Practice, member-paid Tagged with:

30+ SDLC activities you perform as a Java developer

Don’t get overwhelmed by this activities list. This proves why employers favor experience to just academic qualifications alone. It also emphasizes the fact why good technical skills must be complimented with good soft skills and right attitudes get things done…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Judging Experience Q&As, member-paid, SDLC Tagged with:

Java 7: Top 8 new features with examples

There are several small new features and enhancements in Java 7. The major features and enhancements are in Java 8. Let’s look at the Java 7 new features. #1: string in switch statement: Output is: #2 Binary integral literals Output:…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Java 7, member-paid Tagged with: ,

Q01-Q28: ♦ Top 50+ EE Java interview questions & answers

Q1. Can you describe the high level architecture of the application that you had worked on recently? or Can you give a 100 feet bird’s eye view of the application you were involved in as a developer or designer? A1.…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs JEE, member-paid, Top 50+ FAQs JEE Tagged with: ,

Q1-Q10: ♥♦ Top 50+ Core Java Interview Questions and Answers

50+ Core Java interview questions answered for freshers to experienced Java developers. These FAQs have drill down links to more must know Core Java Interview Q&As. Q1. What is the difference between “==” and “equals(…)” in comparing Java String objects?

Posted in FAQs Core Java, FAQs Free, Top 50+ FAQs Core Java Tagged with: , , , ,

Q11-Q23: ♦ Top 50+ Core on Java OOP Interview Questions & Answers

The focus is on Java OOP interview questions and answers. Q11. What is the difference between constructors and other regular methods? A11. Constructors must have the same name as the class name and cannot return a value. The constructors are…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs Core Java, member-paid, Top 50+ FAQs Core Java Tagged with: , ,

Q24-Q36: ♦ Top 50+ Core on Java classes, interfaces and generics interview questions & answers

Focus is on Java classes, interfaces and generics the interview questions and answers style. Java classes and interfaces are the building blocks. Top 50+ Core Java Interview Questions Links: Q01-Q10 | Q11-Q23 on OOP | Q37-Q42 on GC and referencing…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs Core Java, member-paid, Top 50+ FAQs Core Java Tagged with: , , ,

Q29-Q53: ♦ Top 50+ EE Java Interview Questions & Answers

This extends Q1 – Q28 EE Java interview Questions and Answers Q29. What are the different ways can you wire up your dependencies using Spring? A29. 3 different ways. You can combine all 3 ways. Using an XML based application…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs JEE, member-paid, Top 50+ FAQs JEE Tagged with: ,

Q37-Q42: ♦ Top 50+ Core on Java Garbage Collection Interview Questions & Answers

As a Java developer, you may not need to know how the JVM works, but the most important topic that you must know is Java Garbage Collection. How the Garbage Collection and object referencing work in Java. Top 50+ Core…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs Core Java, member-paid, Top 50+ FAQs Core Java Tagged with: , , ,

Q43-Q54: ♦ Top 50+ Core on Java Objects Interview Questions & Answers

Q43. What can you tell about the performance of a HashMap compared to a TreeMap? Which one would you prefer? A43. A balanced tree does have O (log n) performance. The TreeMap class in Java maintains key/value objects in a…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in FAQs Core Java, member-paid, Top 50+ FAQs Core Java Tagged with: , , ,

Top 5 Core Java Exceptions and best practices

#1: ConcurrentModificationException Getting a ConcurrentModificationException when trying to modify (i.e. adding or removing an item) a collection while iterating. The following code throws a ConcurrentModificationException. To avoid ConcurrentModificationException in a single-threaded environment, you can remove the object that you are…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Best Practice, Exception Handling, Exceptions, member-paid Tagged with:

Top 5 reasons to fail your Java (or any job) interviews

#1. Saying too little Especially to open ended questions like “tell me about yourself” or “describe a project that you were most proud of, and what were your contributions & accomplishments?”. Interviewers will be assessing how passionate you are about

Posted in job interview tips Tagged with:

Top 5 reasons why a resume fails to generate a response

Employers & recruiters get inundated with resumes, and they need to filter the eye catching resumes within a short period. So, resume writing is a skill & an art to get more interviews. Here are 5 key points to keep

Posted in Resume Writing Tagged with:

Top 5 tips for software developers on blogging for additional income

There are tangible and intangible benefits to blogging, but for most of you the primary source of income will come from working as a Java developer, Java lead, Java architect, etc for an organization. Blogging can bring in a supplementary

Posted in Personal branding & blogging Tagged with:

Top 6 Java 8 features you can start using now

Unlike Java 7, Java 8 has some significant changes. You can get familiarised with the the following simple working code. All you need is Java 8 installed on your machine. #1: Interface can have static and default methods. This tries

Posted in Java 8, Java 8 Tutorial Tagged with:

Top 6 tips to go about writing loosely coupled Java applications

6 tips to go about writing loosely coupled Java applications useful not only for talking the talk in Java job interviews, but also to build maintainable Java applications. Q1. What is tight coupling? A1. If class OrderServiceImpl relies on parts

Posted in Design Concepts, FAQs Free, Judging Experience Q&As, OOP Tagged with: , , ,

Top 7+ Java productivity tools that make your life easier as a Java developer

In today’s enterprise Java development, you will use plethora of tools to make your life easier and more productive. The open-ended questions described below are not to make the Hire/No Hire decision, but to judge your seniority and experience. Q.…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in member-paid, Tools Tagged with:

Top 8 Java 8 feature list

#1 One needs to get used to the transformation from imperative programming to functional programming. You like it or not, you will be using functional programming in Java 8, and interviewers are going to quiz you on functional programming. Fortunately,…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Java 8, member-paid Tagged with:

What are good real life Java inheritance (or use of abstract classes) examples ?

We have already looked at Why favor composition over inheritance? with reasoning and code examples. Inheritance still has its use and let’s look at some real life examples. #1. Unit Test Classes In the base class you can wire up…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in member-paid, OOP Tagged with:

Brush-up or learn the basics that will fast-track your career

open all | close all

100+ Java Tutorials by topics

open all | close all