2006-04-01から1ヶ月間の記事一覧

Management and Monitoring Reference

DMTF WS-Management ebXML Registry Repository Sun Services Registry

Security Reference

Security Assertions Markup Language (SAML) WS-Security Project Liberty Alliance ID-Web Services Framework (ID-WSF)

Modeling and Simulation Reference

OMG UML (tm) OMG BPMN WfMC XPDL OMG XMI Sun NetBeans Enterprise Technology Preview

Collaboration Framework

Key to implementing an enterprise service bus is an open framework to facilitate the collaboration between services and messages in a consistent manner. Java Business Integration (JBI) provides such a framework including standard interface…

Business Processes Reference

1.Orchestration WS-BPEL:specification at the Organization for the Advancement of Structured Information Standards (OASIS) Sun NetBeans Enterprise Technology Preview for WS-BPEL Orchestration Java EE SDK with WS-BPEL service engine 2.Choreo…

SOBI 5 Area

Business Processes Collaboration Modeling and Simulation Security Management and Monitoring

past enhancements

1. SE5 Major Changes Improve default look and feel of Swing Swing Skins Look and Feel Implement context popup menus for components JTable needs printing support text classes JTextArea's don't automatically scroll when appending() to them. …

other topics

Focus Model Full-Screen Exclusive Mode API AWT Native Interface Drag and Drop and Data Transfer XAWT

features

a set of native user interface components a robust event-handling model graphics and imaging tools, including shape, color, and font classes layout managers, for flexible window layouts that don't depend on a particular window size or scre…

packages

General java.awt - Contains all of the classes for creating user interfaces and for painting graphics and images. java.awt.event - Provides interfaces and classes for dealing with different types of events fired by AWT components. Drag and…

past enhancements

SE5.0 Major Changes XToolkit on Solaris and Linux XDnD Support Obtaining the mouse location on the desktop Window Bugfixes and Enhancements Window, Frame or Dialog Always on Top New API to Specify Default Window Location by Platform Window…

SE6 enhancements

Sub-pixel antialiasing support on LCDs LinearGradientPaint and RadialGradientPaint (Used to paint gradient cycles between 2 or more colors using varying stop points to cycle between colors as well as 3 different rules for repeating the gra…

SE6 enhancements

Tray icon support Splash screen (Loads immediately before the JVM has completed loading, allows custom paining and automatically disposes when first top level frame displays) New Desktop class used to access default desktop bindings for ed…

SE6 enhancements

LNF improvements (The native rendering methods are used on Windows and GTK to draw Swing components, more to come in the future) Enhanced SwingWorker included in the JDK (Based on the new concurrent package and supports partial results as …

Scriptファイル実行クラス Sample

import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; public class EcmaSrcExecutor { pub…

DocLink

JSR 220: Enterprise JavaBeans 3.0 FAQ

Java API アクセス Sample

importPackage(java.lang); print(System.out.println("Hello!"));importPackage(java.util); var date = new Date(); print(date); print('Milliseconds: ' + date.getTime()); importPackage(java.lang); print('Current Milliseconds: ' + System.current…

jrunscript command

-classpath <path> Specify where to find user class files -cp <path> Specify where to find user class files -D<name>=<value> Set a system property -J<flag> Pass <flag> directly to the runtime system -l <language> Use specified scripting language -e <script> Evaluate given script -encoding <encoding> …</encoding></language></flag></flag></value></name></path></path>

DocLink

JSR 223: Scripting for the Java Platform Rhino: JavaScript for Java Scripting Support in Mustang 言語の中の言語 - Scripting

nativelib subelement

<nativelib href="lib/windows/corelib.jar"/> The JNLP client must ensure that each file entry in the root directory of the JAR file (i.e., /) can be loaded into the running process using the System.loadLibrary method. Each entry must contain a platform-dependent shared library with </nativelib>…

resource 6 subelements

jar: jar element specifies a JAR file that is part of the application's classpath. For example: The jar file will be loaded into the JVM using a ClassLoader object. The jar file will typically contain Java classes that contain the code for…

Elements(6) applet-desc

Java Web Start has support for launching Java applets. This support provides easy migration of existing code to Java Web Start.The JAR files that make up the applet are described using the resources element as for applications. The documen…

Elements(5) application-desc

The application element indicates that the JNLP file is launching an application (as opposed to an applet). The application element has an optional attribute, main-class, which can be used to specify the name of the application's main clas…

Elements(4) resources

The resources element is used to specify all the resources, such as Java class files, native libraries, and system properties, that are part of the application. A resource definition can be restricted to a specific operating system, archit…

Elements(3) security

Each application is, by default, run in a restricted execution environment, similar to the Applet sandbox. The security element can be used to request unrestricted access. If the all-permissions element is specified, the application will h…

Elements(2) information

title: The name of the application. vendor: The name of the vendor of the application. homepage: Contains a single attribute, href, which is a URL locating the home page for the Application. It is used by the Java Application Cache Viewer …

Elements(1) jnlp

spec attribute: This attribute must be 1.0 or higher to work with this release. The default value is "1.0+". Thus, it can typically be omited. Note that this version supports both spec version 1.0 and version 1.5, whereas previous versions…

JNLP Elements

jnlp Element information Element related_content Element security Element resources Element application-desc Element applet-desc Element

JNLP file Example

<jnlp spec="1.5+" codebase="http://my_company.com/jaws/apps" href="swingset2.jnlp"> <information> <title>SwingSet2 Demo Application</title> <vendor>Sun Microsystems, Inc.</vendor> </information></jnlp>

Implementing MBean Notifications

package com.example.mbeans; import javax.management.*; public class Hello extends NotificationBroadcasterSupport implements HelloMBean { public void sayHello() { System.out.println("hello, world"); } public int add(int x, int y) { return x…