Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Global Education and Learning

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


J2SE

In this post, I try to give a reasonable account of Java's error handling system being as it is that the handling of errors is a concern that any reasonable programming language must find some way to contend with. Java's error handling methodology is based on an idea of exceptions. An exception is a condition that prevents your program from further executing along the current path. It signifies...
on Mar 5, 2014
If you have followed previous posts, you might begin to perceive a pattern in the semantics of the Java programming language. If not, it might help to go over previous posts as I tend to return to expand on previous topics or add clearer examples as time permits. Inner classes might at first seem like a whole new language to the uninitiated but they are a nice feature in Java that allow you to...
on Feb 20, 2014
In the normal course of solving a general programming problem, it is almost certain that you will become compelled to create, and identify useful ways by which one may hold any number of objects within your program. In Java, you are normally inclined toward the array as the natural choice for holding a group of primitives, but this has the obvious limitation of being of a fixed size, whereas,...
on Feb 12, 2014
Interfaces are completely abstract classes in Java that provide you with a uniform way to properly delineate the structure or inner workings of your program from its publicly available interface, with the consequence being a greater amount of flexibility and reusable code as well as more control over how you create and interact with other classes. More precisely, they are a special construct in...
on Jan 18, 2014
In object oriented programming, polymorphism is a feature that allows you to provide a single interface to varying entities of the same type. This is analogous to the interpretation of the same concept in the field of Biology. To understand how this works in Java, we must consider inheritance and the ways by which the Java programming language makes method calls. When you create a class in Java...
on Jan 7, 2014
There are mainly two ways by which one may reuse classes in Java. The first is by way of composition. Composition provides a way to compose your classes from objects of existing classes, essentially making use of the objects' functionality as opposed to its form. The second method is by what we call inheritance, which describes how one may derive a new class as a type of an existing class. With...
on Dec 18, 2013
A key consideration for the library designer in the normal conduct of operations is maintaining the ability to make changes or improvements to the library at any time without requiring the consumers (client programmers) of that library to do the same. In Java, a library consists of a logical grouping of .class files packaged together to make a working program. An apt analogy to this point may be...
on Dec 8, 2013
Operators in Java work much like they do in mathematics, producing a value from one or more operands. An operand is any quantity on which an operation can be performed and in Java these include primitives and objects. Basic arithmetic operators in Java include addition (+), subtraction (-), multiplication (*), division (/) and the assignment operator (=), all of which constitute the binary...
on Nov 11, 2013
Much of what you do in Java is to define classes that package data and functionality together by concept to represent the desired problem-space element. When you instantiate a class, you create an object that has it's own piece of memory made up of other objects. Java has a peculiar means of manipulating these elements in memory. This is to say even though you treat everything as an object, you...
on Oct 25, 2013

Community

What is Java? Java is an high-level programming language created by James Gosling from Sun Microsystems on 1991, released on 1995. Nowadays, Oracle Corporation has the steermanship for Java. Its license is GNU General Public License (GPL). Is executed on more than 850 millions of devices on all over the world. Java applications are compiled to bytecode that can run on any Java Virtual Machine (...
on Jan 30, 2014
Introduction to Class Diagram In any project's planning phase, the programmer should describe the behaviour of the different objects that are required to satisfy business use cases. However objects can't emerge from nothing, so you need a template that describe the type of objects that the system will have. As a result, you will need to show a diagram with all the classes involved and their...
on Jan 22, 2014
The Java is a platform which grown up quickly, for many rations such it can write once time and run anywhere, it runs languages on JVM. There is a myth that Java cannot compile its sources on run time, but it's truth? Have a dynamic language is important to make some projects, for example, calculate taxes to different cities, so the source should be on the database and each city it puts the...
on Jan 19, 2014

Education

Just recently I was engaged to assist with an application that wasn’t behaving. The application, running in a 1.7.0_45 JVM, relied heavily on a 3rd party SAAS framework. That vendor provided my client with a list of 26 different JVM flags that should be set. When faced with this long list of flags I couldn’t resist asking why all the flags and why these flags. After all there are more than 700...
on Dec 11, 2013
This post introduces a new Java actor based open source sub-project of the project "Learning Actors in Java". This work will develop a premises guardian system. A premises guardian system is a distributed application whose purpose is to support the physical protection of premises such as office buildings, campuses, apartment complexes, shopping malls, etc. Protecting information...
on Nov 20, 2013
Remote systems cannot be ignored. They are the heart of actor programming. The ability of an actor application to smoothly scale out geographically is a tremendous advantage in meeting the challenges of growth. Today we will learn the basics of setting up for remote interaction between actors. If you wish to set up to try coding a set of remote actor systems and do not as yet have a...
on Nov 10, 2013
Introduction Configuration of an actor system affects the way in which the Akka actor libraries and microkernel interact with actors. The visibility of a configuration is limited to the specific actor system with which the configuration has been associated. The effective configuration for any given actor system is a merger of three sources. In Fig. 1 below the precedence of...
on Oct 30, 2013
Introduction This week I am presenting a coding of a simple two actor application designed to show actor creation, message passing, and actor termination. This application is called the "Fortune Cookie Application". It is the next state of the art beyond the HelloWorld program. Despite its simplicity this application shows the elements that every actor application uses. What We Will Be...
on Oct 22, 2013

Programming

In this post we will be looking at code for a system designed to integrate all of the devices used to provide surveillance and security to extensive physical premises such as malls, campuses, and industrial parks. The approach I am taking involves the actor paradigm and the Java programming language. The selection of actors for this type of application is based on a number of...
on Nov 30, 2013
Each of these objects can be described in terms of the classes or types to which they belong for instance a maple tree belongs to the class of tree or is a type of tree, a bicycle is a type of cycle, a car is a type of vehicle. OOP is thus a very powerful language abstraction that allows you to simplify the complexity of a problem while retaining its value. Java is an Object Oriented...
on Oct 16, 2013
Exciting information technologies emerge from new discoveries and re-emerge from past discoveries at a rapid rate. Despite the glamor and curiosity appeal engendered by cutting edge technologies when they debut, after the hype fades and we look at what actually is there in the cold light of reason we find ourselves turning to our pragmatic side and asking: “Ok, but what advantages do we...
on Oct 15, 2013