ipin's blog

best practices don't come easy, it comes with a passion for self-improvment

Archive for the ‘Java’ Category

Serialization

leave a comment »

Pengertian menurut wikipedia :

serialization is the process of converting an object into a sequence of bits so that it can be persisted on a storage medium (such as a file, or a memory buffer) or transmitted across a network connection link to be “resurrected” later in the same or another computer environment. When the resulting series of bits is reread according to the serialization format, it can be used to create a semantically identical clone of the original object. For many complex objects, such as those that make extensive use of references, this process is not straightforward

selanjutnya di bagian java :

Read the rest of this entry »

Written by yanuarseno

November 9, 2009 at 12:40 pm

Posted in Java

MVC Structure in J2ME

with one comment

MVC (Model-View-Controller) is one of the most classic patterns for UI structure design. The MVC pattern is a way to divide the application, or even part of the application, into three parts: Model, which is the body of the application and includes the business logic; View, which represents the user interface; Controller, whose job is process the user input and system event, delegate the job to model service and update the view accordingly. MVC structure has different scales, even in a single class; the structure can be implemented with
different functions. Several examples will show — from simple to complex — how an all-in-one class J2ME[awv1] client transformed to a J2ME[awv2] client with integrated MVC structure; how three classes are organized and how the functions distributed among these classes. The pros and cons in every client type will also be discussed, so as to help the developers select the proper client type.

 

MVC structure in J2ME :

Written by yanuarseno

November 4, 2009 at 10:04 am

Posted in J2ME, Java

JAX-RPC & JAX-WS

leave a comment »

Web services have been around a while now. First there was SOAP. But SOAP only described what the messages looked like. Then there was WSDL. But WSDL didn’t tell you how to write Web services in Java™. Then along came JAX-RPC 1.0. After a few months of use, the Java Community Process (JCP) folks who wrote that specification realized that it needed a few tweaks, so out came JAX-RPC 1.1. After a year or so of using that specification, the JCP folks wanted to build a better version: JAX-RPC 2.0. A primary goal was to align with industry direction, but the industry was not merely doing RPC Web services, they were also doing message-oriented Web services. So “RPC” was removed from the name and replaced with “WS” (which stands for Web Services, of course). Thus the successor to JAX-RPC 1.1 is JAX-WS 2.0 – the Java API for XML-based Web services.

Read the rest of this entry »

Written by yanuarseno

November 4, 2009 at 9:42 am

Posted in Java

Code Conventions for the Java Programming Language

leave a comment »

This Code Conventions for the Java Programming Language document contains the standard conventions that we at Sun follow and recommend that others follow. It covers filenames, file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices and includes a code example.

Why have code conventions? Code conventions are important to programmers for a number of reasons:

  • 80% of the lifetime cost of a piece of software goes to maintenance.
  • Hardly any software is maintained for its whole life by the original author.
  • Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly.

Please download this document 🙂

Written by yanuarseno

November 4, 2009 at 6:41 am

Posted in Java

APLIKASI TRANSFER DATA REKAM MEDIS RADIOLOGI XML KE DAN DARI BASIS DATA RELASIONAL DENGAN JAVA DAN MYSQL

with 3 comments

ABSTRAKSI

Fin Yanuar Seno. 50404282

APLIKASI TRANSFER DATA REKAM MEDIS RADIOLOGI XML KE DAN DARI BASIS DATA RELASIONAL DENGAN JAVA DAN MYSQL

Tugas Akhir. Jurusan Teknik Informatika, Fakultas Teknologi Industri, Universitas Gunadarma, 2008

Kata kunci : Rekam Medis Radiologi XML, MySQL, Java

( xiv + 102 + lampiran )

Rekam medis merupakan kumpulan data medis seseorang yang pernah memperoleh perawatan atau pengobatan secara medis baik di rumah sakit, poliklinik, puskesmas maupun di tempat dokter praktik. Dengan catatan data rekam medis yang akurat dokter dapat dengan mudah mendapatkan informasi mengenai keadaan pasien dan penyakit yang dideritanya serta dapat mengurangi tingkat kesalahan hasil diagnosa terhadap pasiennya.

Read the rest of this entry »

Written by yanuarseno

August 28, 2008 at 11:05 am

Posted in Java