Minggu, 20 Desember 2009
Develop Oracle Offers Updates on Java Technology
Oracle OpenWorld 1800 offers more than sessions, partner exhibits 400, Keynotes from the world's technology leaders, hands-on labs, several special networking events, and more.
Oracle Develop offers sessions about the latest development trends and technologies for service-oriented architecture (SOA), Extreme Transaction Processing (xtp), virtualization, and Web 2.0. Developers can enhance their skills and knowledge through participation in in-depth technical sessions and advanced how-tos on Java,. NET, XML, SCA, PL / SQL, Ajax, PHP, Groovy on Rails, and more. In-depth hands-on labs will cover the latest development technologies, including database, SOA, Complex Event Processing (CEP), Java, and. NET.
Oracle Develop include the following tracks:
* Database
* Enterprise Java and Oracle WebLogic
*. NET
* Oracle Fusion Development
* Rich Enterprise Applications
* Service-Oriented Architecture
Rabu, 09 Desember 2009
Java Fundamental
This is a short tutorial on how to create Java files, compile the Java files, and how to run Java programs.
in this apart will also discuss some of the variables in Java ..
Please follow...
Okey now it's short tutorial on Java, not a tutorial game, but the basic tutorials of Java, to assist the novice totally
STEP 1: Create a Java program code
Well the first thing is, how the origin of a Java application program?
To run Java programs, we first create a text file (txt) ordinary, name TitleCase naming format and end with the extension. Java:
For example Test.java
To fill the program code, edit the file using any text editor such as Notepad.
FILE:: Test.java
Fill in the source code is:
Code:
public class Test (
/ / Test -> according to the file name: Test.java
/ / (Remember the Java case sensitive, unlike Test test)
)
PS: "/ /" are comments, anything written after the / / not be processed
PS2: once again Java is case sensitive, must be consider writing lowercase and uppercase.
STEP 2: compile our code
Compile the source code we have created by using the Java compiler (javac.exe) which has been included in the bundle Java SDK (J2SE), get Java SDK on http://java.sun.com/j2se/.
Use the DOS Prompt, open the Start menu-Run-type CMD.
Write this in a DOS prompt:
Code:
javac Test.java
Once compiled Test.java will produce Test.class
Quote:
Test.java (source code) compile -> Test.class (java bytecode)
STEP 3: Running the program
To run the program above we have used to compile the Java launcher (java.exe), also through a DOS prompt:
Code:
java Test
At this stage of our program will issue an error above can not be executed, because Java does not know where to begin our application of this program.
STEP 4: Start Making an application
Start running a Java application starting from the discovery of keywords (keyword):
Code:
public static void main (String [] args) ()
Now just add these keywords to the file Test.java us:
Code:
public class Test (
public static void main (String [] args) (
/ / Application start-point
)
)
So the above Test.java program can already compiled and executed.
But because it is empty, so our program they will not do any one thing, it's a useless program Smile
java Test -> go into the application start-point and finished, nothing done.
STEP 5: Remove the paper
Now to remove the output to the console (DOS prompt) we use the function System.out.println ( "word"):
Code:
public class Test (
public static void main (String [] args) (
System.out.println ( "Hello World!");
)
)
Our program over the run will spend writing Hello World to the console.
Ah ha! Finally we have the road program and do something, whether you are happy enough now?!
Well then we will know variabel2 in the Java programming language.
STEP 6: Recognize the variables and the type-species
Well after we know how the basic Java application from a file extension. Java to run it, it is time to get acquainted with the types of variables contained in Java.
So what's the variable??
To save a certain value in our application programs (computer memory), the value must be stored into a variable according to the type according to the type of value.
We can not save the value type to a variable number of type character value or vice versa.
In the Java programming language, the types of variables that are available include:
Quote:
- Int: to save the value of integer numbers, for example: 10
- Double: to save the value of a decimal number, for example: 0.5
- String: to save the value of words of text, for example: "Hello World"
- Boolean: to save the value of a simple yes or no, for example: true
To declare a variable that can store these values by simply using:
Code:
[tipe_variabel] [nama_variabel];
eg: int tipeInt;
declaring a variable named tipeInt as variable of type int
To fill the value to a variable they will use the sign =
Code:
int tipeInt;
tipeInt = 10; / / fill values tipeInt with 10
Examples of programs:
Code:
public class Test (
public static void main (String [] args) (
int a = 10;
double b = 0.5;
String c = "Hello";
boolean d = true;
System.out.println (a); / / console written: 10
System.out.println (b); / / console is written: 0.5
System.out.println (c); / / console is written: Hello
System.out.println (d); / / console is written: true
/ / Replace the value of a variable
a = 100;
System.out.println (a); / / console written: 100
)
)
Once we know the kinds of variable types and how to use it, now we see how to process it / manipulate it.
STEP 7: Operation variable
These variables can be if the same as in mathematics, namely by using the operation increase (+), subtraction (-), multiplication (*), division (/), or the result of (%).
For example: int a = 10 + 10; / / increase
Nothing special in the process variable data, simply use the +, -, *, /,%
Example:
Code:
public class Test (
public static void main (String [] args) (
int a = 10;
int b = 20;
int c = a + b; / / 10 + 20 = 30
int d = a - b; / / 10 - 20 = -10
System.out.println (a);
System.out.println (b);
System.out.println (c);
System.out.println (d);
double e = 2;
double f = 4;
double g = e * f; / / 2 x 4 = 8
double h = e / f; / / 2 / 4 = 0.5
System.out.println (e);
System.out.println (f);
System.out.println (g);
System.out.println (h);
System.out.println (5% 3); / / = 2 -> 5 / 3 = 1 remainder 2
)
)
Java also provides a way to streamline certain operations:
Code:
int a = 0;
/ / Add to the 10
way 1: a = a + 10;
I 2: a + = 10; / / shorter
Similarly, subtraction, multiplication, division.
Code:
a -= 10;
a *= 10;
a / = 10;
And Java also provides for the addition of a special condensation / reduction with 1:
Code:
a = a + 1; -> a + = 1; -> a + +;
a = a - 1; -> a -= 1; -> a -;
Minggu, 11 Oktober 2009
Nokia X3 - Device details
To know more, check out-
http://www.forum.nokia.com
Ean
The Sony Ericsson Java SDK 2.5.0.5 has just been released
A new Developers’ Guidelines document explains the Java features and related platform specifications.
In addition to the standard Symbian^1 (S60 5th Edition) support, Sony Ericsson has added these specific features:
1. Advanced Multimedia Supplements (JSR-234)
2. Content Handler API (JSR-211)
3. Mobile Sensor API (JSR-256)
4. Project Capuchin support
Download the SDK and developer guidelines at http://bit.ly/18V4QC
All About Java
1- Java Programming Language
2- Java Standard Edition(J2SE)
3- Java Enterprise Edition (J2EE)
4- Java Micro Edition (J2ME)
5- OOAD (Object Oriented Analysis and Design)
6- Design Patterns ( Gang Of Four)
7- Discuss Java Exam's (SCJP,SCJD)
-----------------------
------ Java SE ------
-----------------------
1-Java SE
http://java.sun.com/javase/
2-JDK 6 Documentation
http://java.sun.com/javase/6/docs/
3-Java SE Technologies at a Glance
http://java.sun.com/javase/technolo
4-The Java Tutorials
http://java.sun.com/docs/books/tuto
5-Java SE Downloads
http://java.sun.com/javase/download
6-Java SE for Business
http://java.sun.com/javase/support/
7-Feature Stories About Java Technology
http://java.sun.com/features/index.
8-People who have Passion for Java Technology
http://www.javapassion.com/
-----------------------------------
------- Java Enterprise--------
-----------------------------------
1-Java EE
http://java.sun.com/javaee/
2-Java EE SDK DownLoads
http://java.sun.com/javaee/download
3-Java EE Tutorials
http://java.sun.com/javaee/referenc
4-Java EE Code Samples & Apps
http://java.sun.com/javaee/referenc
5-Java EE Technical Articles & Tips
http://java.sun.com/javaee/referenc
6-java Enterprise Community
http://www.theserverside.com/
----------------------------
----- Web Service -------
----------------------------
1- Web Services
http://java.sun.com/webservices/
2-Web Services Tutorials
http://java.sun.com/webservices/ref
3-Web Services Samples
http://java.sun.com/webservices/ref
4-Web Services APIs and Docs
http://java.sun.com/webservices/ref
5-Java Web Services Developer Pack 2.0
http://java.sun.com/webservices/ref
6-JAXB 2.1 Runtime Library
https://jaxb.dev.java.net/nonav/2.1
7-JSR 222: Java Architecture for XML Binding (JAXB) 2.0
http://jcp.org/en/jsr/detail?id=222
8-JSR 224:API for XML-Based Web Services (JAX-WS) 2.0
http://jcp.org/en/jsr/detail?id=224
-------------------------------
------ Netbeans IDE -------
-------------------------------
1-Official Web site for netBeans
http://netbeans.org
2- Netbeans Documentation
http://www.netbeans.org/kb/index.ht
3-NetBeans IDE 6.5 Release Information
http://www.netbeans.org/community/r
4-NetBeans IDE Features
http://www.netbeans.org/features/
5-NetBeans IDE Download
http://www.netbeans.org/downloads/i
----------------------------------
------Oracle Java Driver------
----------------------------------
1- OJDBC Oracle Driver
http://www.4shared.com/file/9373713
2-Oracle Pl/SQL Materials
http://www.oracle.com/pls/db111/to_
3-Oracle SQL Reference
http://download.oracle.com/docs/cd/
4- 2 Day + Java Developer's Guide
http://www.oracle.com/pls/db111/to_
-----------------------------------
---Object Analysis And Design--
-----------------------------------
1-brief Introduction
http://en.wikipedia.org/wiki/Object
2-Sun OO-226 Object-Oriented Analysis and Design for Java Technology (UML)
http://www.4shared.com/file/9302291
---------------------------------
------iText Pdf Library ------
---------------------------------
iText is a library that allows you to generate PDF files on the fly.
1-HomePage
http://www.lowagie.com/iText/
2-Download Libarary
http://www.lowagie.com/iText/downlo
3-Documentation
http://prdownloads.sourceforge.net/
---------------------------------
---- About Certification -----
---------------------------------
1-Sun Certified Java Programmer (SCJP)
http://www.sun.com/training/certifi
2-Sun Certified Java Developer (SCJD)
http://www.sun.com/training/certifi
3-Sun Certified Web Component Developer (SCWCD)
http://www.sun.com/training/certifi
4-Sun Certified Business Component Developer (SCBCD)
http://www.sun.com/training/certifi
5-Sun Certified Developer For Java Web Services (SCDJWS)
http://www.sun.com/training/certifi
5-Sun Certified Enterprise Architect (SCEA)
http://www.sun.com/training/certifi
6-Sun Certified Mobile Application Developer (SCMAD)
http://www.sun.com/training/certifi
----------------------
---- Java Blogs ----
----------------------
1-Blogs Of sun
http://www.blogs.sun.com
2-Java EE Blogs
http://java.sun.com/javaee/communit
3-The Java Tutorials' Weblog
http://blogs.sun.com/thejavatutoria
3-Web Services Blogs
http://java.sun.com/webservices/com
JavaFX coding Challenge
First prize is Sten Anderson Music Explorer FX applications.
while the second winner is Naoki suganuma with LifeScope application.
and for the third winner is Evgeni Sergeev Shining EtherFX applications.
besides the three winners, there is also the winner of the student categori namely,
Caesar Photobook mobile applications by Ramin Mohammadi, Real Application Car Race Track by Diego Benna
and applications by Kazuki Hamasaki CalcFX
source: http://javafx.com/challenge/?intcmp=2668
Move to Solaris 10
Great Product
The constant demonstrated innovation within the Solaris OS pays off by delivering benefits that can save companies time, hardware costs, power and cooling, while preserving investments in software and training. In short: innovation matters, because it saves you money.
Great Price
Solaris 10 support pricing is 20% to 50% lower than equivalent support from other open OS vendors. No-cost end user licensing lowers barriers to entry, while overall efficiency lowers costs of operation.
Open Source
The Solaris OS code base is the foundation of the OpenSolaris™ open source community (visit opensolaris.org). In addition, the Solaris OS includes the leading Web 2.0 open source packages, ready to run and optimized for the over 1,000 x64 and SPARC system platforms supported by Solaris 10.
Application Compatibility — guaranteed
The Solaris OS delivers binary compatibility from release to release and source compatibility between SPARC® and x86 processors; with the Solaris Application Guarantee backing it, it's something you can count on. And for the ultimate in conversion ease, use Solaris 8 and Solaris 9 Containers on Solaris 10, a “Physical to Virtual” way to quickly and easily run your existing application environments on the latest SPARC systems.
One Solaris — same features on hundreds of systems
With a single source code base, the Solaris OS runs on x86 and SPARC and processor-based systems — and delivers the same features on all platforms. You can develop and optimize applications on the Solaris OS for use on over 1000 system models from leading vendors such as Sun, HP, IBM, and Dell.
Designed to run securely all the time
The leading-edge security features in the Solaris 10 OS help you reduce the risk of intrusions, secure your applications and data, assign the minimum set of privileges and roles needed by users and applications, and control access to data based on its sensitivity label. Solaris 10 has been independently evaluated at EAL4+ at three Protection Profiles, one of the highest levels of Common Criteria certifications.
Designed for observability
Solaris Dynamic Tracing (DTrace) technology makes it fast and easy to identify performance bottlenecks, especially on production systems. System administrators can use this to troubleshoot even the most difficult problems in minutes instead of days; developers can use it to optimize applications, with significant performance gains possible — real-world use has yielded increases up to 50 times previous performance.
Designed for Virtualization
Solaris 10 has powerful virtualization features built in at no additional charge. With Solaris Containers, you can maintain a one application per virtual server deployment model while consolidating dozens or even hundreds of applications onto one server and OS instance. Share hardware resources while maintaining predictable service levels; increase utilization rates, cut system and licensing costs while gaining the ability to quickly provision and move workloads from system to system. Logical Domains and Xen-based paravirtualization support add even more virtualization flexibility.
Designed for high availability
Predictive Self Healing is a key feature in the Solaris 10 OS that helps you increase system and service availability. It automatically detects, diagnoses, and isolates system and software faults before they cause downtime. And it spans the full range from diagnosis to recovery on SPARC, AMD Opteron™ and Athlon, and Intel® Xeon® and Core Duo processor-based systems.
Designed for performance
The Solaris 10 OS has set over 244 price performance records since its release, unleashing even more power from existing applications. Download the latest Sun™ Studio compilers and developer tools to bring even greater performance to your applications.
move now and download for free:
http://www.sun.com/software/solaris/get.jsp
Minggu, 04 Oktober 2009
JavaFX 1.2 Technology: Features and Enhancements
- Skill Level Beginner
- Product JavaFX
- Key Features Performance, Graphics, Language Enhancements
- Last Updated May 2009
The JavaFX 1.2 SDK is a significant update to the JavaFX 1.1 SDK. The JavaFX 1.2 SDK includes changes to the APIs that are not forward compatible. Some classes, APIs, and variables have been removed from the JavaFX 1.1 SDK, while newer classes, APIs, and variables have been added to the JavaFX 1.2 SDK.
The JavaFX 1.2 SDK release is not binary compatible with the JavaFX 1.1 SDK. This means that your application and all libraries that it depends on must be recompiled with the JavaFX 1.2 SDK.
Legend (Added: , Removed: , Changed: )
Animation
Packages affected: javafx.animation, javafx.animation.transition
Transition.interpolate
is now namedinterpolator
.
Old: public override var interpolate = Interpolator.LINEAR;
New: public override var interpolator = Interpolator.LINEAR;
The Transition
class inherits from theTimeline
class.The Transition.duration
variable inSequentialTransition
andParallelTransition
is inaccessible. However, the public-read protected variablescycleDuration
andtotalDuration
are now included in theTimeline
.
public-read protected var cycleDuration: Duration
public-read protected var totalDuration: Duration
- The
timelines
variable is no longer included inKeyFrame
. Subtimelines are no longer supported. This functionality is now supported byParallelTransition
andSequentialTransition
.
- The
timelineDirty
variable is no longer included in theTransition
class. ThemarkDirty()
function provides the same support as the oldtimelineDirty
variable.timelineDirty
, previously a protected variable of theTransition
class, is now a local variable and can be modified through a protectedmarkDirty()
function in theTransition
class. This change enables a third-party library to extend the JavaFXTransition
base class to implement additionalTransition
classes. The existingTransition
classes, such asTranslationTransition
,RotateTranslation
, andPathTransition
, work as before.
Old: timelineDirty = true;
New: markDirty()
Asynchronous Operations
Package affected: javafx.async
- The
AbstractAsyncOperation
andRemoteTextDocument
classes are no longer included in thejavafx.async
package. Thejavafx.io.http.HttpRequest
class can be used instead of thejavafx.async.RemoteTextDocument
class.
- The following classes are new to the
javafx.async
package.
Effects
Package affected: javafx.scene.effect
Graphics
Packages affected: javafx.scene.transform, javafx.scene.image, javafx.ext.swing, javafx.scene, javafx.scene.layout, javafx.stage, javafx.geometry, javafx.scene.paint
- The variables for the matrix elements in the
javafx.scene.transform.Affine
class are now named as follows:m00 --> mxx
m01 --> mxy
m02 --> tx
m10 --> myx
m11 --> myy
m12 --> ty
However, the more common use case of using theTransform.affine
method is not affected.
Old: Affine { m00: 1 m10: 0 m01: 0 m11: 1 m02: 25 m12: 15 }
New: Affine { mxx: 1 myx: 0 mxy: 0 myy: 1 tx: 25 ty: 15 }
javafx.scene.image.Image.fromBufferedImage(image:java.awt.image.BufferedImage)
is now namedjavafx.ext.swing.SwingUtils.toFXImage(image:java.awt.image.BufferedImage)
. The parameters and functionality are identical to the old method.- The
javafx.scene
package supports the following new classes:
- The
javafx.geometry
package supports the following new classes:
- No events should be delivered when
Node
is disabled.- An application should not expect events on a disabled
Node
. - Mouse and key event handlers should not be invoked when
Node
is disabled. - A focused
Node
should lose focus when it becomes disabled.
- An application should not expect events on a disabled
- The
enabled
variable of Swing components in thejavafx.ext.swing
package is no longer included. Thedisable
variable is still available and sufficient to handle the enabling and disabling of components. - New layout variables are now included in
javafx.scene.Node
,javafx.scene.CustomNode
, andjavafx.scene.Group:
layoutInfo
layoutBounds
layoutX
layoutY
- The preferred method to position a node for layout is
layoutX
andlayoutY
instead of usingtranslateX
andtranslateY
. WhiletranslateX
andtranslateY
most likely will work,layoutX
andlayoutY
will have better performance. Also, if you do a legitimatetranslateX
andtranslateY
, the original value is lost if you did not uselayoutX
andlayoutY
. - The default
layoutBounds
of a Node does not include clip, its effect, or any of its transforms. - The implicit pivot of a Node when using the
scaleX
,scaleY
, orrotate
variables is the (untransformed) center of thelayoutBounds
. - The
boundsInScene
variable is no longer included in theNode
,Group
, andCustomNode
classes. ThelocalToScene(boundsInLocal)
function provides the same support as the oldboundsInScene
variable. TheboundsInScene
variable was expensive to compute, and thelocalToScene(boundsInLocal)
function gives better performance because binding to thelocalToScene
function is not allowed.
Old: node.boundsInScene
New: node.localToScene(node.boundsInLocal)
- The
javafx.scene.layout
package now includes the following classes.
JavaFx
Kawan, ada yang pernah mencoba JavaFx. Yup, ini salah satu produk yang diluncurkan oleh SUN Microsystem. Modul ini digunakan untuk menciptakan aplikasi yang menyokong. RIA - rich Internet Application
Seprti apa sih sebenarnya JavaFx itu?
Jika kawan-kawan pernah melihat aplikasi berbasis Flash (atau sekarang disebut Flex) dari Adobe dengan tampilan animasi yang indah. Sekarang dengan menggunakan Java sebagai pembangun aplikasipun, kita bisa membuat animasi seindah web berbasis Flex.
Kreasi ini sebetulnya sudah dilakukan oleh Microsoft sebelumnya, yaitu dengan Silverlightnya. Sama dengan si JavaFx ini fungsinya tentu saja untuk memudahkan programmer dalam membuat RIA.
Kalo kita bisa flash back ke belakang, kita masih bisa mengingat java applet yang sebetulnya juga sudah menunjang RIA, tetapi trend pada saat itu masih belum berpihak pada SUN.
So....
seorang java programmer saat ini mempunyai pilihan untuk membuat aplikasi internetnya lebih kaya dan atraktif, yaitu dengan menggunakan JavaFx