Archive for February, 2010

The OpenGL ES 2.0 Programming Guide

Porting the Sample Code to the iPhone
The process of porting the sample code from the book to the iPhone highlights some of the unique features of the iPhone. In particular, some of the unique features of the development environment include:

  • The use of Objective C
  • The process of creating an EGL rendering context using the EAGLContext.
  • Detection of device capabilities and creating an OpenGL ES 2.0 context
  • The use of a framebuffer object as the primary rendering surface

Once you have created and setup a rendering context, programming with OpenGL ES 2.0 on the iPhone is identical to any other platform. However, there are some unique aspects of the platform that are worth understanding before jumping into the code.

Java A Tutorial for Migration from C++

What is Java?

  • An object-oriented programming language that runs on a Java Virtual Machine (JVM). A JVM is a program that interprets the Java language, JVM’s for different operating systems all interpret Java in the same way…
  • Java is platform independent. e.g. Write code on Windows, Run on Linux. In practice, C++ is platform dependent e.g. Write code on Windows, Change (break) code to work with Linux, Run on Linux (now have 2 versions!)
  • Java was designed for a networked world. Java applets for the web; Execute code remotely

Classes
Similarities to C++:

  • Constructors
  • Member variables and methods
  • Access modifiers (public, private, protected)
  • Note: Slight differences within all of the above

Differences:

  • No copy constructors
  • No destructors (finalizer is equiv. but rarely needed)
  • File structure: Each public class must be in a file named after that class, No separation of declaration and definition (no header files)

The Java Web Services Tutorial

Building Web Services with JAX-WS

JAX-WS stands for Java API for XML Web Services. JAX-WS is a technology for building web services and clients that communicate using XML. JAX-WS allows developers to write message-oriented as well as RPC-oriented web services. In JAX-WS, a remote procedure call is represented by an XML-based protocol such as SOAP. The SOAP specification defines the envelope structure, encoding rules, and conventions for representing remote procedure calls and responses. These calls and responses are transmitted as SOAP messages (XML files) over HTTP.

Although SOAP messages are complex, the JAX-WS API hides this complexity from the application developer. On the server side, the developer specifies the remote procedures by defining methods in an interface written in the Java programming language. The developer also codes one or more classes that implement those methods. Client programs are also easy to code. A client creates a proxy (a local object representing the service) and then simply invokes methods on the proxy. With JAX-WS, the developer does not generate or parse SOAP messages. It is the JAX-WS runtime system that converts the API calls and responses to and from SOAP messages.

Learn More About Viruses and Worms

How does this program work?

The VBSim program is a computer simulation that demonstrates how viruses and worms spread through and between corporations. The simulation graphically shows the difference between computer viruses and computer worms as they spread throughout a simulated corporation. Since this is a simulation, each time the program runs it will produce a different outcome and different infection patterns, and it can help to give you an idea of how companies might be affected by the next Melissa or Love Letter worm.

How to download and install program above
Once you download this file, run vbsim.exe to extract the contents of the archive. There are three files in this archive:

  • README.TXT – The README file
  • VBSIM.EXE – The simulation program
  • VBSIM.PDF – Simulation documentation

Walgreens SWOT Analysis

Walgreens was originally founded in 1901, in Chicago, as a single store company. Today, they are the second largest drugstore chain in the nation with approximately 5,200 stores in 45 states; however, they are the leader in the industry in terms of sales. In 2005, Walgreens generated 42.2 billion dollars in sales. This figure is a milestone in that it marks the 31st year that Walgreens has set a sales record for the industry. At $46 per square foot, Walgreens averages twice the sales per square foot than their competitors. In light of this success, they project 7,000 stores by 2010. (DSN Retailing Today, 6/12/06) Walgreens expands through organic growth. They prefer to build, or rebuild their own stores and as a result, the average Walgreens store is six years old.(MMR,5/8/2006) The Walgreen chain of pharmacies offers prescription and non-prescription drugs.

iBT-GPS Bluetooth GPS Receiver Users Manual

Congratulations on your purchase of the iBT-GPS with built-in Lithium rechargeable battery. Before you start using iBT-GPS, please make sure if your package includes the following items. If any item is damaged or missing, please contact your dealer at once.
- Bluetooth GPS Receiver – iBT-GPS x 1
- Traveler Power Adapter x 1
- DC cigarette lighter adapter x 1
- Lithium rechargeable battery x 1
- User’s manual with Warranty Card x 1
*Unit package contents may vary depending on countries without prior notice.

Getting started
Step 1 Charging Your Battery
For the 1st time you use the iBT-GPS, please charge battery until it is full (the LED blinks). Take the power cable and connect it to the power jack (mini USB type). This will begin to charge the battery. The LED that represents the battery is the right-most battery icon (shown in below).