Success Story of Sun / Java / Solaris

Raj on November 19th, 2006

I wonder to know how Sun/Java/Solaris are used across the world: its uses and success.

Let me share the material which I found in my quest of ‘Java/Sun Solaris: A Success Story’

please post your comments.


JAVA EVERYWHERE

Sun & UCLA: A Success Story

Sun & UAB: A Success Story

Sun & GHS: A Success Story

check it out! Sun Labs

Here i searched very little.. more you can find from Java Everywhere! or Java in Action

Subscribe to this blog's RSS feed

Google Reader!

Raj on August 25th, 2006

I found an interesting, wonderful and useful site (tool) on the web. It is “Google Reader”, a beta version from Google.

I am lazy to browse updates in web sites, mainly news related stuff. I forget to read updated news when I browse the net. Google Reader makes this simple. GR is based on a new tool on web, called RSS Feeds and comes in three versions.

Rich Site Summary (RSS 0.91)
RDF Site Summary (RSS 0.9 and 1.0)
Really Simple Syndication (RSS 2.0)

GR is like a newsletter with all updates information. Wait!! Do not get scared that, this will come to your Inbox every day. However, it works similar to a newsletter.

RSS Feed uses XML (eXtensible Markup Language) technology. Single / many RSS feed files are available in any site (say a news site). You need to subscribe this feeds to your RSS Feed Reader or Aggregator. Then, whenever you log in to it, GR takes you to that site and fetches the new updated feed from the RSS feed and displays those items, which you have not read.

Today, most of the sites are providing this facility. Many free tools (RSS Feed Reader/Aggregator) are also available on net to read these RSS Feeds.

Google Reader promises; Simple, User friendly and Scalable interface.

Google Reader provides online Aggregator.

To access Google Reader, it is not required to have Google account!

Even if you do not have Gmail id, you can use Google Reader.

Go to http://reader.google.com/

A wonderful Flash demo is available on ‘How to use Google Reader’ by Andy Wibbels. Do not forget to switch on your speaker.

http://andywibbels.com/flash/google_reader.htm

for testing you can use my blog RSS feeds.

http://blog.360.yahoo.com/rss-.G0UuZEjeqzw6riGKuZL7QLJ

Do not forget to post your comments Google Reader experience here!!

Semantic Breakthrough

Raj on May 10th, 2006

Yesterday i am going throught the articel Semantic Breakthrough in magazing Oracle Magazine.

it says

By any measure, the World Wide Web is an immense success, helping everybody from preschoolers to CEOs share information, simplify research, and conduct business online. Still, many researchers aren’t happy with the state of Web technology. They think that something is missing: intelligence.

For example, to assemble information from several sites with today’s Web, you have to visit them individually and then cut and paste the content to create a cohesive presentation. This pastime has become routine for many; yet if you ask a computer to do the same thing, it wouldn’t know where to start. That’s because the Web’s HTML pages are designed for humans, not machines, to read.

I am not sure how far this will be a good to discover. If you see this issue in one angle its really useful. but if you see another side of the coin. this be a illegal to grab info easily “without any stress”. YES i agree there are some website grabbers to download the whole site. but this mails the people so easy to get valuable info’s very very easily.

Collin Doering

My name is Collin Doering; I am 15 years old and from a small town about an hour away from Toronto, Ontario in Canada. I am still in high-school but my favorite hobby, and hopefully future job, is Computer Science. I specifically enjoy programming in Java but do a little of C++,C.
Read More…

NetBeans

Sun Identity Management Solutions

Raj on May 1st, 2006
Identity Management Solutions

Sun’s comprehensive portfolio of identity management solutions can help you manage, protect, store, verify, and share identity data throughout the enterprise and across extranets.

http://www.sun.com/software/media/flash/demo_federation/
http://www.sun.com/emrkt/idmanagement/index.jsp

Following is the program I tryed recently to learn Class Loader and Log4J.

Really good program simple to write and easy to understand.

Please provide your comment.

If you cant understand, Let me know
ode { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }–>


package com.test.loader;
import java.lang.reflect.Method;
import org.apache.log4j.Logger;

public class MyClassLoader {

public static Method findMethod(String name,Method methods[])

{

Method method = null;

for (int i=0; i < methods.length; i++)

if (methods[i].getName().equals(name))

{

method=methods[i];

i = methods.length;

}

return method;

}

public static void main (String args[])

{

Logger log = Logger.getLogger(MyClassLoader.class);

String cls = “com.test.loader.TestClass”;

String mtd = “sayHaiTo”;

Object objClass = null;

try

{

log.debug(cls +” class goint to be loaded”);

Class clazz = Class.forName(cls);

objClass = clazz.newInstance();

log.debug(”Loading class success : ” + cls );

Method methods[] = clazz.getMethods();

log.debug(methods.length + ” Methods found for ” + cls );

for (int i=0; i < methods.length; i++)

log.debug( i+1 + “) ” + methods[i].getName());

log.debug(”Finding Method ‘” + mtd + “‘ in class ‘”+cls+”‘”);

Method method = findMethod(mtd,methods);

if (method == null)

log.warn(”Method ‘” + mtd + “‘ not found in class ‘” + cls + “‘”);

else

log.info(”Method ‘” + mtd + “‘ found in class ‘” + cls + “‘”);

log.debug(”invoking Method ‘” + mtd + “‘ in class ‘” + cls + “‘”);

method.invoke(objClass,new String[]{”Ram”});

log.debug(”initializing method sayMyAge”);

Method method1 = findMethod(”sayMyAge”,methods);

log.debug(”calling method sayMyAge”);
method1.invoke(objClass,new Object[]{new Integer(25)});

}

catch(ClassNotFoundException e)

{

log.error(”Loader class ‘” + cls + “‘ Not Found.”);

}

catch(IllegalAccessException e)

{

log.error(”Illegal Access of class ‘” + cls + “‘ .”);

}

catch(Exception e)

{

log.error(”Exception in class ‘” + cls + “‘ Invocation. Thrown : ” + e.getMessage());

}
}
}

Technorati Tags:

Yahoo! Avatar!

Raj on March 31st, 2006
Yahoo! Avatars Thank you for Sara’s Comment which forced me to post this entry.

Do you like the above Avatar ?

I was wondering how this avatar system works. So just going through the Avatar pages, trying to create new avatar and analyzing how it changes the image depends on click.

Its really cool and very interesting. Developed with Flash and html link .

This Avatar in my profile, shows a Prince/hero just landed in a island after a victory. so you can see the shower of ribbons etc.

I don’t know what is the meaning of 1620! Anybody know what is 1620?

Design Pattern Definition

Raj on March 8th, 2006

i found this definition on internet. Really good definition. simple and explanatery.

“A design pattern is a general solution to a common problem in software design. The idea is that the solution gets translated into code, and that the code can be applied in different situations where the problem occurs.”

14 Dec 2005

The Apache Struts flagship product, the leading web application framework for Java, is now known as the “Struts Action Framework”.

To make the framework easier to maintain, Apache Struts subdivided the original monolithic distribution into several subprojects. Each subproject has its own website, documentation, and release cycle, and may be downloaded separately. For consistency, the original core framework component also has its own name now: “Struts Action Framework”. The JARs and external dependencies for the extensions to Struts Action Framework are being bundled into a convenient distribution known as the “Struts Action Framework Library”.

The Struts Action Framework 1.3.0 release will include several exciting new features, including:

* Composable Request Processor
* ActionDynaForm interfaces
* Arbitrary configuration properties
* Catalog and Command Elements
* Enhanced Global Exception Handlers
* Extends attribute for XML configurations
* “isCommitted” Exception Handling
* Postback Actions
* Wildcard ActionConfig properties

The key change in this release is the “composable request processor”. The request processor is the framework’s “kernal”. The request processor methods are now command objects in a flexible chain of commands. Rather than subclassing a monolithic object, developers can now just replace commands with their own implementations. Commands can also be inserted or removed, if needed, to extend or streamline the request processing gauntlet, to better meet the needs of different kinds of applications.

The Struts Action Framework 1.3.0 release, and other milestones on the Apache Struts roadmap, were discussed at ApacheCon on Tuesday, December 13, 2005, in a talk, entitled “Struts 2006: An Embarrassment of Riches”. Slides from the talk are available online

Source: Jakarta Apache

What is service-oriented architecture?

Rajmahendra on December 12th, 2005

Recently I read a wonderful article about SOA from JavaWorld.

Articles some paragraph are given below.

Service-oriented architecture (SOA) is an evolution of distributed computing based on the request/reply design paradigm for synchronous and asynchronous applications. An application’s business logic or individual functions are modularized and presented as services for consumer/client applications. What’s key to these services is their loosely coupled nature; i.e., the service interface is independent of the implementation. Application developers or system integrators can build applications by composing one or more services without knowing the services’ underlying implementations. For example, a service can be implemented either in .Net or J2EE, and the application consuming the service can be on a different platform or language.

Service-oriented architectures have the following key characteristics:

* SOA services have self-describing interfaces in platform-independent XML documents. Web Services Description Language (WSDL) is the standard used to describe the services.

* SOA services communicate with messages formally defined via XML Schema (also called XSD). Communication among consumers and providers or services typically happens in heterogeneous environments, with little or no knowledge about the provider. Messages between services can be viewed as key business documents processed in an enterprise.

* SOA services are maintained in the enterprise by a registry that acts as a directory listing. Applications can look up the services in the registry and invoke the service. Universal Description, Definition, and Integration (UDDI) is the standard used for service registry.

* Each SOA service has a quality of service (QoS) associated with it. Some of the key QoS elements are security requirements, such as authentication and authorization, reliable messaging, and policies regarding who can invoke services.

Its worth to read the article

Read the article What is service-oriented architecture?

JRuby for Java. A Java API

Raj on November 15th, 2005

Ruby is a reflective, object-oriented programming language. It combines syntax inspired by Ada and Perl with Smalltalk-like object-oriented features, and also shares some features with Python, Lisp, Dylan and CLU. Ruby is a single-pass interpreted language. A fast growing language.

The language was created by Yukihiro “Matz” Matsumoto, who started working on Ruby on February 24, 1993 and released it to the public in 1995.

A new API is arrived as a Open-source from SourceForge.. JRuby.

  • A 1.8.2 compatible Ruby interpreter written in 100% pure Java
  • Most builtin Ruby classes provided
  • Support for interacting with and defining java classes from within ruby
  • Bean Scripting Framework (BSF) support
  • Distributed under a tri-license (CPL/GPL/LGPL)

You can fine more information in following website.

Ruby
JRuby

Fox inside Browser War.

Raj on September 27th, 2005



Extensive usage of Internet world over started the war of browsers. As the Internet usage is growing faster, the threats like the hacking, security, virus etc are also growing proportionately. The requirement of a browser’s supporting system also increased. Many companies started promising their browser as the best. In this war, Internet Explorer from Microsoft dominated the field for many decades.

To beat this product, many companies created their own standards to make their browser a mark. Main drawback with IE (Internet Explorer), as Bill Gates once explained, ” HTML is our data type”. Yes, from the Windows version of 98, IE is part of the OS kernel. It means you cannot un-install IE from the Window OS. IE is so much customizable that you can even access API of the Windows, even by using JavaScript, a client side scripting program. In this customizable environment, many types of software can be installable into the OS easily. IE uses local operating system files like DLLs, by which any program from Internet can be easily installed into the operating system. Also in market, as free, plug-ins are available for IE which may be downloaded and plugged-in into IE easily which are mostly dangerous that it can crash your system.

Mozilla Firefox, a browser primarily designed for search to be secure, fast and customizable. As per expert’s opinion, it is the safe browser available in market today. As it does not contain any vulnerable attachments like ActiveX components, which are often used to install Spyware on IE. Firefox is developed using a XML like language called XUL, which is mainly used for the browser customizing. Mozilla Firefox Browser is still in developmental stage with the involvement of a huge community of volunteer coders. The coding is monitored for any vulnerability check, and if found any, it is corrected and an update made available in days or sometimes hours, to avoid the bugs of IE.

Firefox uses the powerful rendering engine Gecko, which is found in all Mozilla products. Gecko has superb support for all those features, which any web developer loves to have such flexibility. It’s rendering is accurate and fast.

Mozilla Firefox Browser has a vast space for customizing features like themes and extensions. Themes, like skins in many other applications, give the browser a whole new look. Users can customize the browser’s look and feel into pre-developed themes available in Mozilla sites. Extensions are even better; anyone can custom build, to make the browser perform something special. Some extensions like, checking the Gmail account for new emails, blocking all ads, yahoo search bar, Google search bar etc. It is a vast place to choose themes and extensions today for Firefox. Firefox has an automatic updating tool, which finds the new updates of browser theme and extensions.

Tabbed browsing is the common feature readily available with Firefox, which reduces your desktop clutter by keeping all of your open web pages within Firefox main window. Experts’ opinion that, this will speed up your machine by not creating multiple instances of a same application, where all the tabs inside a window works as thread rather that an individual process. Mozilla Firefox Browser offers popup blocking by default.

Just try it out :)

Useful links.

Mozilla

Mozilla Firefox

Spread Firefox

Themes & Extensions

Mozilla Extensions