Elements of Advanced JAVA Programming : Part-2

Distributed Computing: There are JAVA technologies available for creating distributed computing environment. Two popular technologies are the remote method invocation (RMI) and the common object request broker architecture (CORBA). RMI analogous to the remote procedure call (RPC) and is preferred by programmers of the JAVA programming language. The CORBA does provide flexibility in heterogeneous development environments. The RMI featuresdo enable a program running on a client computer to make method call on an object located on a remote server machine. It gives a programmer the ability to distribute computing across a networked environment.…Read more

Elements of Advanced JAVA Programming : Part-1

Introduction to the Two- Tier and the Three-Tier Architectures: Client-server computing involves two or more computers sharing tasks related to a complete application. Ideally,, each computer is performing logic appropriate to its design and stated function. The most widely used form of client-server implementation is a two-tier client-server. This involves a front-end client application communicating with a back-end database engine running on a separate computer. Client program sends Structured Query Language (SQL) statements to the database servers. The server returns the appropriate results, and the client is responsible for handling the data. The…Read more

Networking Concepts in Java

Networking: In this, it describes the concept of networking by using sockets. Sockets: Socket is the name given, in one particular programming model, to the endpoints of a communication link between processes. Because of popularity of that particular programming model, the term socket has been reused in other programming models, including JAVA technology. When processes communicate over a network, JAVA technology uses the streams model.A socket can hold two streams: one input stream and one output stream. The  process does send the data to another process through the network by writing to the…Read more

Thread in Java : Part 4

In Part 3 of threads we looked at synchronization, monitor model of synchronization. Now, today we will look at Consumer-Producer Thread concept. Putting It Together: The code in this is an example of thread interaction that demonstrates the use of wait and notify methods to solve a classic producer-consumer problem. Start by looking at the outline of the stack object and the details of the threads that access it. Then look at the details of the stack and the mechanisms used to protect the stack’s data and to implement the thread communication based…Read more

Thread in JAVA : Part-3

In previous part 2 of threading, we had seen information about keywords and flags used in java threads. Today we go forward in java threading part 3. The synchronized – Putting It Together: The synchronized mechanism works only if all access to delicate data occurs within the synchronized blocks. You should mark delicate data protected by synchronized blocks as private. If you do not do this the delicate data can be accessed from code outside the class definition; such a situation would be able other programmers to bypass your protection and cause data corruption at run…Read more

Thread in JAVA : Part-2

In previous part, we had seen about thread control. thread creation methods and thread priority information. Today we will look on next part in java threading. Using the synchronized Keyword: In this, it describes the use of the synchronized keyword. It provides the JAVA programming language with a mechanism that enables a programmer to control threads that are sharing data. The Problem: Imagine a class that represents a stack. This class may appear first as: public class MyStack { int idx = 0; char [] data = new chat[6]; public void push() {…Read more

Thread in JAVA : Part-1

Recently we had seen basics of threads in this article. Now we will look in detail about Threads in Java part I to Part IV. Basic Control of Threads: In this, it describes how to control threads. Testing Threads: A thread can be in an unknown state. Use the method isAlive to determine if a thread is still viable. The term Alive does not imply that the thread is running; it returns true for a thread that has been started but has not completed its task. Accessing Thread Priority: Use the getPriority method…Read more

Threads Computing in Java – Part 2

Starting the Thread: A newly created thread does not start running automatically. You must call its start method. For example, you can issue the following command as the previous example: t.start(); Calling the start() method places the virtual CPU embodied in the thread into a runnable state, meaning that it becomes viable for scheduling for execution by the JVM. It does not necessarily mean that thread runs immediately. Thread Scheduling: Usually, in JAVA technology threads are pre-emptive, but not necessarily time-sliced (the process of giving each thread an equal amount of CPU time).…Read more

Threads Computing in Java – Part 1

Threads: A simplistic view of a computer is that it has a CPU that performs computations, memory that contains the program that the CPU executes, and memory that holds the data on which the program operates. In this view, there is only one job performed. A more complete view of most modern computer system provides for the possibility of performing more than one job at the same time. You do not need to be concerned with how multiple job performance is achieved, just consider the implications from a programming point of view. Performing…Read more
Angry Birds maker Rovio is taking a tough decision: laying off 130 staff

Angry Birds maker Rovio is taking a tough decision: laying off 130 staff

Angry Birds is a popular video game franchise that established by Finnish computer game developer Rovio Entertainment. Mainly this famous mobile video game was developed by Rovio and the firm released many versions of angry birds since it launched. Angry birds created a successful combination in comical style and addictive gameplay and thus it enriched the brand through TV shows, toys, an animated movies and clothing’s. In 2016, the company has planned to promote its brand through a premier in cinemas. However, this hit mobile video game maker of Angry Birds, Rovio has…Read more