1000 Java Tips ebook
Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!.
Easy Learn Java: Programming Articles, Examples and Tips - Page 297
1060 Stories (530 Pages, 2 Per Page)
Java is an excellent programming language. For most programming
it's better than older programming languages like C or C++.
||The top reason Java has become popular
is because of the increased productivity of Java programmers.
It is claimed, and my experience is in agreement,
that Java programmers have about double the productivity of C/C++
||Java a good, portable library for a
Graphical User Interface (GUI).
Most programming languages supply only a text mode interface.|
||Java lets you easily use the Internet.
Most languages were designed before the Internet
Java programs can run on many different machines (Intel, Sparc, PowerPC, ...)
and many different operating systems (Windows, Unix, Macintosh, ...).
You can move a C program if it is written very carefully,
but it is usually
difficult or impossible. In contrast,
it easy to move most Java programs.
Java programs are more reliable because
Java doesn't have very dangerous things like C/C++'s
pointer arithmetic. Java also checks array bounds
and other error-prone operations. Memory management is much
safer because Java does automatic garbage collection.
a very large number of packages which extend the language.
Therefore it is unnecessary to call the operating system
||Object-oriented programming features
(inheritance, encapsulation, and polymorphism)
make many programs, especially large programs,
easier to write.
||Java supports large programming projects
with object-oriented programming, packages, and components
14 comments | | Score: 4
Posted by jalex on Sunday, January 30, 2005 (00:00:00) (4545 reads)
Secure a J2ME Environment with JCE
Implementing a customized security library is expensive and unsuitable for medium and small applications. The Java Cryptography Extension, while the accepted standard for these apps, brings up a host of other problems. This article analyzes those problems and demonstrates how to solve them.
In this article, we analyze the common issues associated with using JCE, the
standard security library for J2SE, in a J2ME environment. We illustrate how to
solve these problems step by step, including sample code, and show how to
implement the AES (Advanced Encryption Standard) algorithm with JCE in a J2ME
environment. For our working environment, we will use IBM® WebSphere® Studio
Device Developer (Device Developer), Foundation Profile, and IBM JCE. However,
because the tools and libraries we use conform to an open standard, you can
apply the approach to all other kinds of development environments that adhere to
J2ME and JCE standards.
To start, we'll review the two steps required in the standard JCE
installation for J2SE. The first step is adding a JCE provider, such as the IBM
JCE provider, into the java.security file. Listing 1 shows how.
7 comments | | Score: 5
Posted by Anonymous on Saturday, January 29, 2005 (00:00:00) (3453 reads)