Success Story of Sun / Java / Solaris
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
Semantic Breakthrough
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.
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.
Sun 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
Sample program for Log4J and Class Loader
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; }–>
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”); } 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: Java java tools
Design Pattern Definition
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.”
Apache Struts to release Struts 1.3.0 as the “Action Framework”
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?
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
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.





