Stream

Join this community to post or comment
 
 
newFixedThreadPool, Callable and Future example in Java
In this article, we will learn how to implement tasks that return a result and run them on an executor using Callable and Future interfaces with the help Executor framework. This post is continuation of previous post where we learned about cached Thread poo...


#programming   #java  
In this article, we will learn how to implement tasks that return a result and run them on an executor using Callable and Future interfaces with the help Executor framework. This post is continuation of previous post where we...
View original post
1
Add a comment...

Pardeep Kumar

Discussion  - 
 
 
Producer Consumer problem in Java using wait and notify
A classic problem in concurrent programming is the producer-consumer problem. We have a data buffer, one or more producers of data that save it in the buffer and one or more consumers of data that take it from the buffer.
As the buffer is a shared data structure, we have to control the access to it using a synchronization mechanism such as the synchronized keyword, but we have more limitations. A producer can't save data in the buffer if it's full and the consumer can't take data from the buffer if it's empty
#programming #java #thread  
View original post
1
Add a comment...

Pardeep Kumar

Discussion  - 
 
 
Cloning Objects in Java
In Java, objects are manipulated through reference variables, and there is no operator for copying an object—the assignment operator duplicates the reference, not the object. The clone() method provides this missing functionality. In this article, we look i...
In Java, objects are manipulated through reference variables, and there is no operator for copying an object—the assignment operator duplicates the reference, not the object. The clone() method provides this missing functiona...
View original post
1
Add a comment...
 
If you're a ‪#‎startup‬ join us at the next Tech Startup ‪#‎jobfair‬ ‪#‎tsjfair‬ in your city http://bit.ly/1z7QngA
LONDON: https://techstartupjobs-fair-london2015.eventbrite.co.uk
1
Add a comment...
 
In addition to my previous post about the upcoming TECHSTARTUP JOB FAIR in London, happening on Feb 19th, I wanted to share this exciting news- 900+ attendees have signed up so far! 
Here you can check the amazing talent that have joined so far: http://bit.ly/1B5LL0U

Hurry up & book your slot!
If you are a Startup & you're hiring, hurry up & book your exhibition slot- Have a look at all the benefits here: https://techstartupjobs-fair-london2015.eventbrite.co.uk


Feel free to get in touch with me if you have any questions, or need more info.
Thanks!
1
Add a comment...
 
 
String pool concept in Java
String pooling (sometimes also called as string canonicalisation) is a process of replacing several String objects with equal value but different identity with a single shared String object. This is the most basic and predominant concept that every Java dev...
String pooling (sometimes also called as string canonicalisation) is a process of replacing several String objects with equal value but different identity with a single shared String object. This is the most basic and predomi...
View original post
1
Add a comment...
 
Why Choose Ifuturz for Java Application Development?
http://bit.ly/1zp4e6D
Ifuturz is one the best leading #Java development company in USA. Our experience developers have broad knowledge of developing web #applications in Java and #J2EE #frameworks.
1
Add a comment...
 
Q. What are Spring beans?
A.In Spring, components or objects are called beans http://www.javavapor.com/spring-question-and-answer/4/
Q. What are Spring beans? A.In Spring, components or objects are called beans or In other words,the objects that form the backbone of an application and are managed by the Spring IoC container are called beans.A bean is simply an object that is instantiated, assembled and otherwise managed by a ...
1
Add a comment...
 
 
How Hibernate Works and it's Persistence Lifecycle
Hibernate ORM (Hibernate in short) is an object-relational mapping library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database . Hibernate solves object-relational impedance mismatch ...
Hibernate ORM (Hibernate in short) is an object-relational mapping library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object...
View original post
1
Add a comment...

JAXenter

Discussion  - 
 
 
Meet the Leaders and Masterminds of the Java Community. Early Bird special offer ends TOMORROW! Get you tickets today and see you in London!  http://bit.ly/1ky7CaL
View original post
1
Add a comment...

About this community

Share knowledge, tips and network with other developers in the London area.
 
 
String pool concept in Java
You can create objects of the class String by using the new operator, by using the assignment operator ( = ), or by enclosing a value within double quotes ( " ). But you may have noticed a big difference in how these objects are created, stored, and referred by Java.

#programming   #java  
String pooling (sometimes also called as string canonicalisation) is a process of replacing several String objects with equal value but different identity with a single shared String object. This is the most basic and predomi...
View original post
1
Add a comment...
 
 
Semaphore in Java with two explained examples
When a thread wants to access one of these shared resources, first, it must acquire the semaphore. If the internal counter of the semaphore is greater than 0, the semaphore decrements the counter and allows access to the shared resource. A counter bigger than 0 means there are free resources that can be used, so the thread can access and use one of them.
Otherwise, if the counter of the semaphore is 0, the semaphore puts the thread to sleep until the counter is greater than 0. A value of 0 in the counter means all the shared resources are used by other threads, so the thread that wants to use one of them must wait until one is free.
When the thread has finished the use of the shared resource, it must release the semaphore so that the other thread can access the shared resource. That operation increases the internal counter of the semaphore.
#programming   #java   #semaphore  
In this post we'll see one of the synchronizers that is used in  java.util.concurrent library i.e, Semaphore. We'll see a simplest and easiest way to use Semaphore so that it is easy to remember and understand easily. What ...
View original post
1
Add a comment...

Vadi Raj

Discussion  - 
 
Dear All - I am hiring Scala Developer for Accenture Newcastle Upon Tyne , Please contact me at vadiraj.galagali@accenture.com or give me call at 07831647278
1
Add a comment...

Vadi Raj

Discussion  - 
 
Dear All hiring Java Developers for Accenture  Manchester and Newcastle upon Tyne  people who required visa sponsorship also most welcome, Please contact me at vadiraj.galagali@accenture.com or give me call on 07831647278 
1
Add a comment...
 
An introduction to Python Programming language - A completre Guide
bit.ly/pythonL
Python Introduction: Python is a high level language. It is object oriented, interpreted, dynamic, multipurpose language. Although it is very simple to learn but it is very powerful and versatile scripting language. Its approach to object-oriented programming is simple but very effective.
1
Add a comment...
 
Are you a #Startup & hiring? Join us in #NYC #London #Barcelona #Amsterdam #Berlin for the Biggest TechStartupJobs Fair
http://bit.ly/1KV6W8W
1
Add a comment...
 
ATTENTION ALL JOB SEEKERS & EMPLOYERS:
The biggest TECHSTARTUP JOB FAIR is coming in London, again, on Feb 19th.

If you are looking for a job, you should definitely check out this event, sign up for FREE and come to meet some of the hottest tech startups in London!

If you are a Startup & you're hiring, hurry up & book your exhibition slot- Have a look at all the benefits here: https://techstartupjobs-fair-london2015.eventbrite.co.uk
1
Add a comment...

Pardeep Kumar

Discussion  - 
 
 
ClassCastException in Java
ClassCastException exception is thrown when an attempt is made to cast between incompatible types (such as String to Integer type or vice versa).  In this article, we understand this exception in more detail and find out the way to avoid this exception with...
ClassCastException exception is thrown when an attempt is made to cast between incompatible types (such as String to Integer type or vice versa).  In this article, we understand this exception in more detail and find out the ...
View original post
1
Add a comment...

Pardeep Kumar

Discussion  - 
 
 
Finding superclasses of an object in Java
In this article, we look into one of the mechanism of an Reflection to find about the super classes of any object in Java with example.  Reflection  enables what is commonly referred to as dynamic pro gramming in Java. Reflection in Java is accomplished  us...
In this article, we look into one of the mechanism of an Reflection to find about the super classes of any object in Java with example.  Reflection enables what is commonly referred to as dynamic programming in Java. Reflecti...
View original post
1
Add a comment...
 
 
Don Antony used Command Pattern and ruled the mafia for 3 decades. Read this to find out How.....
‪#‎java‬
View original post
1
Add a comment...