April 23, 2012

System Time in C

System Time in C

This is a small example for C Programming to show how to get  system time 
C program that help us to get system time. 
#include <stdio.h>
 #include <time.h> 
 int main ()
 char *date; 
 time_t timer; 
 date = asctime(localtime(&timer)); 
 printf("Current Date: %s", date); 
 return 0; 

-- Thanks....

April 19, 2012

Design pattern in java

Desing Pattern 

                       In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. So patterns are formalized best practices that you must implement yourself in your application. Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved. Many patterns imply object-orientation or more generally mutable state, and so may not be as applicable in functional programming languages, in which data is immutable or treated as such.
Design patterns reside in the domain of modules and interconnections. At a higher level there are architectural patterns that are larger in scope, usually describing an overall pattern followed by an entire system.
                    There are many types of design patterns, like Algorithm strategy patterns addressing concerns related to high-level strategies describing how to exploit application characteristic on a computing platform.
                    Computational design patterns addressing concerns related to key computation identification. Execution patterns that address concerns related to supporting application execution, including strategies in executing streams of tasks and building blocks to support task synchronization.
Implementation strategy patterns addressing concerns related to implementing source code to support program organization, and the common data structures specific to parallel programming.

To Know more about Design pattern in java 

Thanking you...

April 16, 2012

DHTMLX Tool for java Developers


DHTMLX is a JavaScript library that provides essential functionality for building cross-browser, Ajax-based user interfaces. Develop impressive web applications faster with a set of ready-to-use UI widgets. 

Download and use  : http://dhtmlx.com/

Thanking you.....

Java web application design tools : ZK Studion

Java Web application designing tools

ZK Studio is a visual IDE (Integrated Development Environment) providing intuitive tools that span the entire application development lifecycle. Tools are included for UI design, prototyping, development, and deployment when implementing ZK applications.
ZK Studio provides content assistance, WYSIWYG visual development, hyperlink navigation, variable highlighting, syntax coloring, and many other exciting features. ZK Studio is the most efficient way to develop Ajax applications..
You can integrate ZK Studio with eclipse IDE.

link :  http://www.zkoss.org/product/zkstudio

Thanking you

April 06, 2012

Information Security and Cloud Computing

Information Security and Cloud Computing

Cloud Computing

its the fastest growing technology. Every companies is shifting to cloud as a part of green IT, pollution is less since there will be no CPU because our cpu emits much carbon monoxide gas Even though security is a major issue. End user needs only a browser enable system to use their resource. Three types of services are provided by cloud software as a service, platform as a service and infrastructure as a service. Intel has now arrived with latest technology that support cloud. Salesforce is the major software used to develop cloud. its works on visual force , apex and soql.


Thanking you...

April 05, 2012

reCAPTCHA is a free

reCAPTCHA: The FREE anti-bot service that helps digitize books

reCAPTCHA is a free CAPTCHA service that protects your site against spam, malicious registrations and other forms of attacks where computers try to disguise themselves as a human;

link :: https://developers.google.com/recaptcha/

Using recaptcha with jsp/java

How to use recaptcha4j api

April 04, 2012

Real world example for Abstract Class in java

Real world example for Abstract Class in java

Abstract class is a class that contains abstract method and non abstract methods. Sub class which extends the abstract class "must" implements the abstract methods in the abstract class.
For examples.
Let us consider animal as our abstract class. I wrote 2 function in it. One breath() , breath is a non abtract method.
please consider every animal breath in a common way. so i write some code inside the function breath(). let it be a "Through respiratory system"

second function is a abstract method lifespan(), lifespan is different for each types of animals.

now consider sub class as dog , cat and ant

these class extends that abstract class. The relation ship will come in this way like dog is an animal, cat is a animal ..."is - a" relation ship
since the sub class extends the base class animal.. we need to define lifespan() function in each subclass.

lifespan() is different for each animal

for cat its 25, dog 22 and ant 3.

while i create an object Animal a = new cat();
a.breath()  will return me   "Through respiratory system" and
a.lifespan() will return me  25

if i create an object Animal a = new dog();
a.breath() ---->  "Through respiratory system"
a.lifespan() -----> 22

got it !!!!

Author +belazy 

Thanking you...................

Facebook comments