Understand The Java Classpath

15 May 2010

This article is about a small simple collection of batch files which can be used to test the behavior of the javac compiler and java class launcher for different classpath scenarios. The system is called ClasspathTester. Download instructions are included at the end of this article.

When you are in the middle of trying to debug a java build it is a bad time to try to boil everything down to a simple test case, so basically the intent of my test collection is to do this for you ahead of time. If you can’t find the precise test you need, it is easy to modify the existing tests or create a new test to suit your needs.

How ClasspathTester Works

As previously stated, I did everything with batch files, because I wanted the tests to be as uncomplicated, portable (within the Windows environment), and simple as possible. There are a few helper batch files to do things like create formatted output and build a directory structure, but otherwise nearly all of the work is done in the RunAllTests.bat file.

What RunAllTests.bat consists of is tests and sub-tests. If you haven’t downloaded it yet, I suggest you download it and take a look. Each test consists of some sort of a setup. Setup normally involves the following:

1. Test environment is cleaned up of old directories, files, and classpath.

2. New directory structure is created, new files are created and placed in correct directories, and the classpath is set if necessary.

After setup, the tests are run. This consists of running either the javac.exe compiler, the java.exe launcher, or both. That’s all there is to it.

A Simple Example

To understand what ClasspathTester, does, open the RunAllTests.bat file in your text editor and look at TEST1. Each test is a collection of sub-tests which are loosely grouped around some kind of a central testing theme, and TEST1 is one of the simplest.

So what happens in Test1? First it calls banner.bat to add a header to the results file. Then it creates the Hello.java and MyLibClass.java files, by copying them from their corresponding avaj files (the reason for using avaj files is discussed later in this article). Now everything is set up to run some subtests.

TEST1A is very simple. According to its description, ” The Hello.java file is located in the current directory, and the Hello.class file will be written to the current directory and run from the current directory”. As you can imagine, TEST1A operates flawlessly.

TEST1B and TEST1C are designed to show different ways that using java.exe to launch the Hello.class file can fail. In TEST1B the classpath is been set to an empty directory. In TEST1C the file Hello.class is erased. Interestingly, these two tests fail in exactly the same way.

Note that all tests results are stored in the results.log file.

How the Tests are Kept Safe

By “safe” I mean safe to your computer, safe to your other data. Since the tests involve batch files that are creating and destroying files and directories, care must be taken to avoid accidentally destroying or writing over other unrelated files. This is accomplished in the cleanup.bat file by avoiding the use of statements like “erase /S *.*” or “rmdir /S *”. Instead, all erasures are kept fairly specific.

In fact, the cleanup.bat file consists of the following statements:

set classpath=

rmdir /S /Q aq

rmdir /S /Q EmptyDirectory

erase Hello*.java

erase Hello*.class

erase MyLibClass*.java

erase MyLibClass*.class

This ensures that there will be no tragic accidental loss of unrelated data.

Why Use .avaj Suffix Files

Part of the operation of ClasspathTester involves completely wiping the base directory clean of all .java files, .class files, and subdirectories; therefore, all the suffix of all permanent java files is mangled to avaj. For any test, the appropriate avaj files are copied to java files. The available files are:

Hello.avaj

Hello1.avaj

Hello2.avaj

MyLibClass.avaj

MyLibClass1.avaj

MyLibClass2.avaj

Download Information

You can find and download a zipped copy of the ClasspathTester can be on my Article Support Page

Summary

ClasspathTester is simple, portable, unobtrusive, customizable and solves an annoying development problem, the need to quickly test special classpath situations with javac.exe, java.exe, or both.

Tags : Anna Sui Fragrance Refinance Home Loan Emerald Cut Blythe

Assertion in Java

14 May 2010

Assertion facility is added in J2SE 1.4. In order to support this facility J2SE 1.4 added the keyword assert to the language, and AssertionError class. An assertion checks a boolean-typed expression that must be true during program runtime execution. The assertion facility can be enabled or disable at runtime.

Declaring Assertion

Assertion statements have two forms as given below

assert expression;

assert expression1 : expression2;

The first form is simple form of assertion, while second form takes another expression. In both of the form boolean expression represents condition that must be evaluate to true runtime.

If the condition evaluates to false and assertions are enabled, AssertionError will be thrown at runtime.

Some examples that use simple assertion form are as follows.

assert value > 5 ;

assert accontBalance > 0;

assert isStatusEnabled();

The expression that has to be asserted runtime must be boolean value. In third example isStatusEnabled() must return boolean value. If condition evaluates to true, execution continues normally, otherwise the AssertionError is thrown.

Following program uses simple form of assertion

//AssertionDemo.java

Class AssertionDemo{

Public static void main(String args[]){

System.out.println( withdrawMoney(1000,500) );

System.out.println( withdrawMoney(1000,2000) );

}

public double withdrawMoney(double balance , double amount){

assert balance >= amount;

return balance – amount;

}

}

In above given example, main method calls withdrawMoney method with balance and amount as arguments. The withdrawMoney method has a assert statement that checks whether the balance is grater than or equal to amount to be withdrawn. In first call the method will execute without any exception, but in second call it AssertionError is thrown if the assertion is enabled at runtime.

Enable/Disable Assertions

By default assertion are not enabled, but compiler complains if assert is used as an identifier or label. The following command will compile AssertionDemo with assertion enabled.

javac -source 1.4 AssertionDemo.java

The resulting AssertionDemo class file will contain assertion code.

By default assertion are disabled in Java runtime environment. The argument -eanbleassertion or -ea will enables assertion, while -disableassertion or -da will disable assertions at runtime.

The following command will run AssertionDemo with assertion enabled.

Java -ea AssertionDemo

or

Java -enableassertion AssertionDemo

Second form of Assertion

The second form of assertion takes another expression as an argument.

The syntax is,

assert expression1 : expression2;

where expression1 is the condition and must evaluate to true at runtime.

This statement is equivalent to

assert expression1 : throw new AssertionError(expression2);

Note: AssertionError is unchecked exception, because it is inherited from Error class.

Here, expression2 must evaluate to some value.

By default AssertionError doesn’t provide useful message so this form can be helpful to display some informative message to the user.

Friends Link : Prudential Insurance Soy Protein Lecithin Grazia Magazine

Tempeh – The Innate Benefits Inside the Traditional Food

13 May 2010

Tempeh is a traditional food from Java, Indonesia. This traditional food has been spreading across the world, and became one of the vegetarian diet full of nutrients and also delicious at the same time. You can find tempeh in some other countries, such as the Netherlands and Malaysia. Tempeh spreads throughout the world following the migration of Javanese during colonialism period, when they moved and settled in Netherlands. In Malaysia, tempeh was brought by migrant workers from Java, and become popular food in there.

Nutrients in tempeh are quite balance and can replace some nutrients from animal, make it suitable for those who become Vegan. So what exactly is the content of nutrients in tempeh? According to USDA National Nutrient Database, cooked tempeh contains the following nutrients:

Water (59.56 g per 100 g serving)

Protein (18.19 g per 100 g serving)

Lipid (11.38 g per 100 g serving)

Energy (196 kcal / 822 kJ per 100 g serving)

The protein inside the tempeh is more than its fat. It have 3.745 g per 100 g serving monounsaturated fatty acid and 2.636 g per 100 g serving polyunsaturated fatty acid. So the major fatty acid from tempeh is a good one.

Another micronutrients abundances inside the tempeh are niacin (2.135 mg per 100 g serving), potassium (401 mg per 100 g serving), phosphorus (253 mg per 100 g serving), magnesium (77 mg per 100 g serving), iron (2.13 mg per 100 g serving), manganese (1.285 mg per 100 g serving), and several more.

From these facts, we can see the reason why tempeh should be being included to our diet. There are more healthy, traditional foods which can be good if we put them in our diet, much better than another junk foods around us. So, instead buying expensive junk food, we’d better start eating healthy, cheap food from now.

Thanks To : Soy Protein Emerald Cut Unbuntu

Improving Career Opportunities With CIW Training

12 May 2010

If you were to talk to various business owners, asking them the one thing that gives an employee “the edge” for being hired but also having a long lasting career within the company, the majority would agree the answer is CIW training. When looking at the new generation of IT, and everything this industry encompasses, you would discover that CIW courses and certification are held in high regard.

In addition to CIW training and certification being considered industry standard within the United States, this is the standard used around the globe. Corporations, educational institutions, and even governmental agencies realize that to be successful, several factors come into play. For instance, customers need to be offered a high quality product and/or service but the business also needs highly skilled employees, those that have incredible insight into technology, management, security, and much more pertaining to website development.

By completing CIW training, you would become empowered, allowing you to choose the type of business to work for, while providing the exact service and level of expertise needed for a seamless operation. Holding certification in one or all of the CIW courses would place you in a unique category of employees, someone that has in-depth knowledge of the most current and innovative technological solutions available. This type of skill can only be achieved by taking the comprehensive CIW courses.

The exciting aspect of CIW training is that it can benefit literally anyone interested in the IT industry. In other words, if you were just getting started, you would begin with the basic course, working your way up to the level that you want to complete. However, if you already have experience in IT, the more advanced courses would enhance your skills and further your career.

CIW training is broken down into three levels – associate, professional, and master. Within each of these levels, the specialized courses focus on four specific areas of responsibility, which include the following:

- Enterprise Developer

- Website Designer

- Website Manager

- Administrator

Then, CIW training delves deep into these four areas, providing outstanding instruction that would hone your skills to a level otherwise unachievable. As example, you would learn about programming languages such as Java and Cobra, server techniques, website security, design for highly profile websites, methods of site administration, database development, and e-commerce design, and so on.

With each course completed, you would earn certification, which shows prospective and current employers that you now possess something extraordinary. Keep in mind, CIW training focuses on skills, not on a specific type of software program or hardware. With the training received, you understand the basic and fundamental foundation that goes along with web technology.

Even more importantly, you would gain full command over the more challenging functions of IT to include network infrastructure and everything it encompasses. As a result, you would have control to choose the direction in which your career heads. With so many people out of work or frustrated with their current job situation, CIW training should be considered, courses that offer promise for a brighter and more secure future.

Thanks To : Prudential Insurance Home Refinance Diamond Earrings Amortization Bulova Breast Lift

CECT I9 – 3G Accessories – Pretty Cheap to Buy and Relatively Easy to Find

12 May 2010

The CECT 3G version of the i9 is getting a lot of attention, so I’m getting a lot of questions about it. The other day, someone visiting my blog commented that although they were very intrigued with the color and customization options (as well as the ten pages of icons available on this phone), they were going to wait to buy it as it was still on the “new side.” They reasoned if they waited a couple of months, they would be assured that more accessories and support would be available for it as it become more mainstream. In truth, accessories, Internet set up directions, batteries, skins, and user’s manuals are already readily available for the i9 -3G. I’ll explain what I mean by this (and go over some of the popular accessories available) in the following article.

What’s New To Us Is Old In China: By the time these knock off or clone phones (and their upgrades) reach the states or overseas, they’re already mainstream and sometimes an old hat in China. Very often, the buzz and information (including video) about these phones precedes their actual arrival to us by months. So, by the time they actually get here, there is a lot of excitement already built. Sellers know and understand this. And, like any money making industry, businesses and entrepreneurs are going to piggy back these trends. There’s often very little or any wait period from the time the phone is available to when the accessories come out and are also available. And, very often, the batteries, sims, data cords, etc. are interchangeable. Below, I’ll list some of the more popular accessories (with approximate prices.)

Internet Set Up Instructions For T Mobile, AT&T, Fido, And Rogers: This phone (like most all CECT’s) uses carriers that allow for GSM sim cards. So, there are a few popular networks for it, including T Mobile and AT&T. And while, your sim card will usually just be inserted and allow you to immediately make calls and text, you may need to update the phone’s information for Internet and MMS.

Often when you get the phone, the factory settings still exists or the data will be applicable to a Chinese network. Changing this is relatively easy. All that’s basically required is that you go in and change the data, WAP, MMS, and Java settings (if you’re going to be using Opera Mini) for your particular network. There are folks that have put together step by step instructions that will usually run you only a few dollars. And with this purchase, these guys often offer one on one support which can save you hours of troubleshooting and frustration. It’s also good to keep these around if for some reason you accidentally reset the phone back to factory settings when playing around with it.

Internet Sim Cards (Especially Prepaid And Unlimited): No matter how perfectly you get the WAP and Internet settings installed, you won’t be able to surf the net unless you pay for data. If you have a monthly contract, this is probably included, or you can easily include it. Many people who like these clones though really like avoiding contracts and prefer to go pre paid. This is definitely an option with this phone. AT&T’s GoPhone will allow you to pay via KB or buy a monthly package. (Current pricing is $4.99 per 1MB, but this changes sometimes.) Sometimes, you can find T Mobile cards that allow for unlimited data for one month. These run about $20, which is economical, but you’ll have to replace them monthly.

Extra Batteries: You can replace the battery on these phones yourself. The batteries have a long shelf life, but you don’t want to chance having yours going out and having no back up. You can get a spare for around $10.

Car Or Home Chargers, And USB Cords: You’ll often get a charger with the phone, but spares are really cheap, often as little as a few bucks. The beauty of these chargers is that they are essentially a USB cord with either a home or car adapter that fits on the end. So, often, you can get all three as part of a package that runs under $10. The USB cord is also how you transfer the information from the phone to your computer (although you can use Bluetooth too.)

Earphones / Earphone Adapters: Often, if you want to use your iPod or high end ear phones to listen to the MP3, you’ll need an adapter. These only run a few dollars.

Cases, Skins, Customizable Stickers: Probably the most popular covers for these phones are the silicone skins that fit very snugly onto the phone. Some people opt for the more business type styles leather materials. And, I’ve recently noticed that entrepreneurs have come out with little stickers that cover and protect the phone on all sides. These are a custom fit. There are pop culture type options (the Simpson’s, Hello Kitty, Betty Boop, etc.) but you can also send in a photo or logo and customize this. The stickers come right off but will protect the phone while applied. These are cheap – usually well under $10.

Instruction Manuals: Most sellers will send you an instruction manual with your phone, but if you didn’t get one or lost yours, you can generally get one in just about any language you would need for only a dollar or two. Sometimes, these come as part of a bundle as well.

Visit : Fragrance Oil Emerald Cut Refinance Home Loan File Replication Dusit Resort

The Coffee Culture in the USA

11 May 2010

It wasn’t until I moved to the US that I started drinking coffee regularly and became what they call in the Netherlands a ‘koffieleut’, which translates literally into ‘coffee socialite.’ Although the average European drinks more coffee per year than the average American, the cultural importance and its effects on the average European seems to me smaller than that on the average American. After all, coffee is a cultural obsession in the United States.

Chains with thousands of branches like Dunkin’ Donuts or Starbucks dominate US daily street life. Especially in the morning (90% of coffee consumed in the US is in the morning), millions of white foamy cups with boldly imprinted pink and orange logos bob across the streets in morning rush hour and on the train. Coffee drive-ins are a saving grace for the rushing army of helmeted and tattooed construction workers. During lunch break, men and women in savvy business suits duck into coffee shops.

Students chill out from early afternoon till late evening on comfy couches at coffee lounges around campus. Police officers clutch coffee cups while guarding road construction sites on the highway. In short, coffee drinkers in the United States can be found just about anywhere you go.

This mass-psychotic ritual causes Americans to associate Europe above all with cars that oddly do not contain cup holders (to an American this is like selling a car without tires), or with the unbelievably petite cups of coffee European restaurants serve, so small that my father-in-law had to always order two cups of coffee. It is my strongest conviction that the easily agitated and obsessed nature of the ‘New Englander’ can be blamed on the monster-size cups of coffee they consume. Not without reason is the word ‘coffee’ derived from the Arab ‘qahwa’ meaning ‘that which prevents sleep.’ Arabs have cooked coffee beans in boiling water since as far back as the 9th century and drank the stimulating extract as an alternative to the Muslims’ forbidden alcohol.

These days coffee is second only to oil as the most valuable (legally) traded good in the world with a total trade value of $70 billion. Interestingly, only $6 billion reaches coffee producing countries. The remaining $64 billion is generated as surplus value in the consumption countries. Small farmers grow 70% of world coffee production. They mainly grow two kinds of coffee beans: Arabica and Robusta. About 20 million people in the world are directly dependent on coffee production for their subsistence.

Table 1: production in 2002/3

country % 70% Arabica

30% Robusta

Brasil 42.03% Arab/Rob

Colombia 8.88% Arabica

Vietnam 8.35% Robusta

Indonesia 4.89% Rob/Arab

India 3.74% Arab/Rob

Mexico 3.54% Arabica

Guatemala 3.1% Arab/Rob

Uganda 2.53% Rob/Arab

Ethiopia 2.44% Arabica

Peru 2.24% Arabica

Table 2: consumption in 2001/2world consumption % kg per capita (2001)

USA 30.82% Finland 11.01

Germany 15.07% Sweden 8.55

Japan 11.47% Denmark 9.71

France 8.89% Norway 9.46

Italy 8.59% Austria 7.79

Spain 4.90% Germany 6.90

Great-Brittain 3.63% Switzerland 6.80

the Netherlands 2.69% the Netherlands 6.48

Although the consumption of coffee per capita in the world is decreasing (in the US alone it decreased from 0.711 liter in 1960 to 0.237 liter presently), world consumption is still increasing due to the population explosion. Considering that coffee consists of either 1% (Arabica), 2% (Robusta) or 4.5%-5.1% (instant coffee) caffeine, the average American consumes at least 200 to 300mg (the recommended maximum daily amount) of caffeine a day through the consumption of coffee alone.

The place I frequent to down a cup of coffee is the Starbucks in Stamford, Connecticut. The entrance can be found on the corner of Broad Street and Summer Street, to the left to the main public library with its plain pediment and slim Ionic columns. The location right next to the library harmonizes with Starbuck’s marketing plan. At the entrance of the coffee shop a life-size glass window curves around to the left, providing superb voyeuristic views of pedestrians on the sidewalk. As you enter, you step directly into the living room area with stacked bookshelves against the back wall. Velvet armchairs face each other with small coffee tables in the middle, creating intimate seating areas. The velvet chairs near the window are the prime seats, which people unfortunate to score a wooden chair prey upon. At the back of the long rectangular room is the coffee bar and a small Starbuck’s gift shop. There is a dark wooden table with electrical outlets suited for spreading out laptops and spreadsheets, dividing the living room area from the coffee bar.

Since I have been cranky for weeks I hesitate to order a regular black coffee. It is very easy to get cloyed with a favorite food or drink in the US because of the super-sized portions served. The smallest cup of coffee is a size ‘tall’ (12oz.=0.35l.), after which one can choose between a ‘grande’ (16oz.=0.5l.) and a ‘venti’ (20oz.=0.6l.). Half a liter of coffee seems a bit over the top, and it sounds absolutely absurd to my European mind. I finally end up choosing a ’solo’ espresso.

Sitting in one of the booth-like seats against the back wall, unable to obtain a prime seat, I feign to read my book while eavesdropping on conversations around to me. Three middle-aged men sit in three ash gray velvet chairs and converse loudly. A vivid dialogue develops, exchanged with half roaring, half shrieking, laughter. They mock a colleague in his absence and then clench their brows in concern while discussing the teeth of one of the men’s daughter. Two African-American women sit at a small table opposite the reading-table in the murky light, one of them with a yellow headscarf with black African motifs. Close to the entrance, in the seating area next to the animated conversation, a vagabond is playing solitaire. One by one he places the creased cards with rounded backs over one another, as if he attempts to stick them together. He rendered a couple of dollars in exchange for a small coffee to feel, in the warmth of the front room, nostalgia for a cozy living room and relives a sense of intimacy of having your own house.

It’s a bright, sunny, early autumn day, a typical New England Indian summer. Sunbeams radiate through the coloring, flickering foliage, and throw a puzzle-shaped shadow into Starbuck’s window. Autumn’s hand turns her colorful kaleidoscopic lens. The green ash tree near the sidewalk resembles, with its polychrome colors, somewhat a bronze statue: its stem sulphur bronze, its foliage intermittently copper green and ferric-nitrate golden. On the other side of the cross walk the top of a young red oak turns fiery red. These are the budding impressions of the autumn foliage for which Connecticut is ‘world famous’ in the US.

In the world of marketing and entrepreneurship, Starbucks is a success story. It is one of those stories of ‘excellence’ taught as a case study at business school. Founded in 1971, it really began its incredible growth under Howard Schultz in 1985, and presently has 6,294 coffee shops. But what does its success really consists of? A large cup of coffee at Starbucks is much more expensive than at Dunkin’ Donuts: $2.69 compared to $3.40 for a Starbucks’ ‘venti’. But while Dunkin’ Donuts offers only a limited assortment of flavors like mocha, hazelnut, vanilla, caramel and cinnamon, you will find exotic quality beans at Starbucks like Bella Vista F.W. Tres Rios Costa Rica, Brazil Ipanema Bourbon Mellow, Colombia Nariño Supremo, Organic Shade Grown Mexico, Panama La Florentina, Arabian Mocha Java, Caffè Verona, Guatemala Antigua Elegant, New Guinea Peaberry, Zimbabwe, Aged Sumatra, Special Reserve Estate 2003 – Sumatra Lintong Lake Tawar, Italian Roast, Kenya, Ethiopia Harrar, Ethiopia Sidamo, Ethiopia Yergacheffe and French Roast. So Starbucks offers luxury coffees and high quality coffee dining, reminiscent almost of the chic coffee houses I visited in Vienna.

Every now and then, I grin shamefully and think back at my endless hesitation choosing between the only two types of coffee available in most Dutch stores: red brand and gold brand. Even up to this day I have no clue what the actual difference is between the two, apart from the color of the wrapping: red or gold. Not surprisingly, Starbucks appeals to the laptop genre of people: consultants, students, intellectuals, the middle class, and a Starbucks coffee is a white-collar coffee, while a Dunkin’ Donuts coffee is a blue-collar coffee. In Dunkin’ Donuts you will run into Joe the Plumber, Bob the barber, and Mac the truck driver. But what is it exactly, that attracts the white collared workers in the US to fall back into the purple velvet chairs?

I imagine their working days filled with repetitive actions and decisions within a playing field of precisely defined responsibilities. How many of the players in these fields get through the day with its routines for simply no other reason than being able to enjoy their daily 30 minutes-escape into the Starbucks intimacy where, for a brief moment in the day, you regain the illusion of human warmth and exotic associations of resisting the coldness of high finance?

For 15 minutes you fall back into the deep, soft pillow of a velvet chair and randomly, and alas how important is that moment of utter randomness, pull a book from the shelves. While, in the background, soothing tones resound of country blues, with its recognition of deep human suffering, a blaze of folk with the primary connection with nature and tradition, or of merengue reviving the passionate memories of adventure and love, you gaze out the window and ponder about that simple, volatile reflection in the moment, strengthened by the physical effect of half a liter of watery coffee that starts to kick in and the satisfaction of chewing your muffin, bagel, cake, brownie, croissant or donut.

It is, above all, that bodily ecstasy caused by a combination of caffeine, sugar and the salivating Pavlov effect. You remember the struggling musician behind the counter taking your order, the amateur poet as you pay her for the coffee and give a full dollar tip, feeling a transcendental bound in your flight from reality. You stare with a fastened throbbing of the first gulps of coffee at the advertisements and poems on the bulletin board, and dauntlessly you think: They are right, they are so right! and what do I care? Why should I care?

But then you look at your watch and notice you really have to run again. ‘Well, too bad, gotta go!’, or people will start gossiping for being so long away from your desk. And while you open the door, an autumn breeze blows in your face, the last tunes of the blues solo die out as the Hammond organ whispers: ‘I throw my troubles out the door, I don’t need them anymore’.

Coffee in the US is a subculture that massively floated to the surface of the consumer’s society. Starbucks is more than coffee, it’s more than just another brand on the market, it is a social-political statement, a way of perceiving how you would like to live, in other words it is a culture. Starbucks is the alternative to Coca-Cola and so much more than just coffee: it’s chocolate, ice-cream, frappuccino, travel mugs with exotic prints, cups and live music, CD’s, discounts on exhibitions and even support for volunteer work.

Friends Link : Soy Protein Summer Fragrance Refinance Home Loan Apex Insurance Isopure Adobe Director

Nokia N78 Full Specifications Part B

10 May 2010

The Nokia N78 has got more in store for you! If you are here then you must have viewed the full specifications part A of this mobile phone already. It is shown in there what the N78 has in terms of general, size, display, ringtones, memory, and data specifications. If you have not read that information yet, it is best if you do. Here, you will learn about the features and battery life of this handset.

First, the N78 runs on the Symbian OS (S60 rel. 3.2). For your messaging requirements, you have plenty to choose from. You can either send a regular SMS, or send MMS, emails, and even IMs. This mobile phone has the WAP 3.0/xHTML browser capable of displaying HTML and RSS feeds. The Nokia N78 also has games in it, plus you can download Java games anytime! The mobile phone comes in black color only. For its camera, it is a 3.15 megapixel Carl Zeiss optics that supports auto focus, 2048×1536 pixels, flash, and video (VGA 15fps). The phone also has a secondary camera for CIF video-calls.

Other features include a GPS receiver (built-in), A-GPS support, WMA/eAAC+/AAC/M4A/MP3 player, Java MIDP 2.0, FM transmitter, and Stereo FM radio. The handset has an audio output jack of 3.5 mm too. Other functions of the phone include voice dial or command and Push to Talk. It too has PIM including printing, to-do list, and calendar. Moreover, this mobile phone is equipped with a Document Viewer, has video and photo editor, has T9 connection and has integrated hands-free functions.

As for its battery, the N78 has the standard Li-Ion (BL-6F) 1200 mAh. On standby, it can last up to 320 hours. Its talk time can last up to 4 hours and 20 minutes. As you can see, the Nokia N78 is one versatile mobile phone!

See Also : Diamond Earrings Home Refinance Refinance Home Loan

Java Mobile Games – Experience Playing Entertaining Games

9 May 2010

Java Mobile Games are used to entertain people with the latest in games. These technologically superior games are used for entertainment purposes. The Java games belong to every category that includes action, adventure, arcade, card, simulation, racing, puzzle and lots more.

The java games can be installed in a computer, mobile phone or a gaming console. The compatibility of playing games increases the efficiency of such gadgets. These games can be easily downloaded from the internet once the devices are connected to the net. People can easily surf the net and visit several websites to download files from the internet. The java mobile games are high definition ones and can be played on mobile phones. Such games can easily be installed on mobiles. These games can also be transferred from one mobile to another or downloaded directly from the net.

The icons displayed while playing the games have absolutely reasonable resolution and they get displayed as shadows and bright icons. Moreover, the games are supported by unique and informative content and that allows the users to keep track of every phase of the game that is being played. Moreover, the games are given attractive tiles that allows the users to search for their favourite games very easily.

These games can also be installed in devices that do not have large memory support. This makes the java mobile games more compatible to be used for entertainment purposes. Laptops, desktop computers and other gadgets can be utilised for playing the java games. However, a good resolution screen enhances the gaming experience.

Such games are available free of cost and are offered by several websites. It is a good source of entertainment and people can make use of it in their leisure time for entertainment reasons. The user finds joy in their lives and can get rid of tensions by playing these games. They actually serve as a stress buster. When it is to be downloaded from the internet, the user finds the option to visit several websites and choose the best games.

Tags : Soy Protein Anna Sui Fragrance Lecithin Best Landscape Proformance

Java 2 Micro Edition

9 May 2010

Modern age is the age of cell phones. Nowadays most new mobile phones are able to run downloaded external applications. These applications can be developed by using some programming languages. The most common are WAP/WML and I-mode/CHTML. At the moment these protocols are more widely used than J2ME, but J2ME has some advantage over the other two.

Java 2 Micro Edition (J2ME) is reduced version of the Java API and Java Virtual Machine. A key benefit of using J2ME is that J2ME is compatible with all Java-enable devices. A Java-enable device is any computer that runs the Java Virtual Machine. Motorola, Nokia, Panasonic and RIM all have Java enabled devices.

Now we discuss about the J2ME structure. J2ME architecture doesn’t replace the operating system of a small computing device. It’s architecture consists of layers located above the native operating system, collectively referred to as the CLDC (Connected Limited Service Configuration) which is installed on top of the operating system forms the run time environment for small computing device.

To ensure portability across the different devices a layer has been built that handles issues such as screen layout and button mapping. This layer has been called MIDP. MIDP is a set of J2ME APIs that define how software applications interface with cellular phones and two way pagers. Using this APIs a developer creates a program, called a MIDIet that can be developed on any of the supported devices (PDA’s, Cell Phones etc).

The main advantage is that it runs anywhere, any time, over any device (Java enable). Portability of the code is another advent.

The main disadvantages as compared to WAP and I-mode include: Limited GUI components and component placement. Installation overhead: before one can use an application it needs to be installed on the device. WAP pages can be called without installation procedures.

Friends Link : Fragrance Oil Diamond Earrings Essential Oils Rhinoplasty Set Landscape

Easiest way to speed up your computer – startup applications

8 May 2010

Have you noticed that your computer slows down over time? start times longer and generally lower performance? In this tutorial I will show you how to speed up a Windows PC by disabling some can have the startup applications. This tutorial is only for people with Windows XP, Vista and Windows 7

Why does my computer slows down over time

If you are a new installation of Windows to run any application in the background and the computer is nice andquickly. How do I install new applications, some of which will be automatically added to the list of Windows startup. From then on, when Windows do so, these applications open, increase the time needed to load Windows and run in the background and consuming resources. This is one of the main reasons that a Windows PC is much slower time gets.

startup applications – what they are and what they do

applications are applications that start when Windows starts.Are usually used (a) the application is launched automatically each time so they do not have to do manually (2) for updates and notifies you.

Here are some examples of what can be found in the startup list the average user:

App Startup: Adobe Acrobat

What it does: Pre-load resources Adobe Acrobat, so that PDF files will load faster.

Need? Unless a pdf every time you use your computer, see the plan, it is better to load the resources onDemand, so it does not consume unnecessary resources.

What happens if I disable? Nothing. Every time you try to open a PDF file, Acrobat Reader will automatically download these resources for you. The penalty is only the second extra or so for the first time you open a PDF file takes.

Start App: Java Scheduler

What it does: At regular intervals, checks for Java updates and informs the user (once a month).

Need? It 's more a personal preference. Some software shouldbe kept up to date, for security reasons, as the operating system and browser. Java should not be. I prefer to manually update if the version I have problems starting.

What happens if I disable? Java will not update automatically on your computer. But at the same time get rid of waste is a process of resource.

Start App: Google Toolbar Notifier

What it does: Makes sure that Google is the default search engine – in case of other applicationsThey are trying to install wants to change it.

Need? No, you know that Google is not the default search engine when it is changed – even if you care or you are using a standard search engine.

What happens if I disable? Nothing.

Many applications you install add in the startup list – you see very often, from 20 applications in it.

The problem

Every developer thinks that their application is the most importantApplication of the world and has to run all the time. But in reality it is up to you, you decide what you need to start automatically and what you prefer to manually start. For example, like MSN Messenger each time the computer started. But what if I installed a chat, I use once a month that someone like MSN chat? Now I have to do with the MSN Messenger starts every time my computer? Every time Windows starts, I enter now, instead ofto manually start an app, I have to manually kill an app.

What about automatic updates? Do not know about you, but I do not want the application XYZ know – I once a month – a newer version is available, whenever my computer.

I have computers, so rubbish, it took only three minutes to get Windows were seen loaded. And only his computer has been constant exchange applications in and out of memory. Too many applications running, you can use your computerunusable.

What applications should be in the startup list?

Most applications do not need to be in the Startup list, but there are some do. Some anti-virus and firewall applications must be in the Startup list. Some backup applications that every time begins to run when Windows must be in the startup list.

Do not be afraid to enable / disable startup items in the list. If you accidentally disable something you really need, you can always go back and orderit. On most computers, which I worked, I would disable all startup items, and when I saw that something is not working I could turn it on again.

If you are interested and want to make sure you turn off something, you check the exe, drawn up in one of these sites:

http://www.sysinfo.org/startuplist.php

http://www.bleepingcomputer.com/startups/

They'll tell you what is the exe file and if it can be disabled safely.

Disable StartupApplications

Windows XP

Go to Start->
Type msconfig and press OK
Go to Start-ta
Go through the startup items and uncheck those you do not want to start. Expand the column command to the command and the full actual exe that is running.
Click OK when finished
Restart your computer
If the computer starts, you will receive a "pop-up System Configuration Utility. Check" Do not show this message or launch the System ConfigurationUtility when Windows starts box and press OK.

Windows Vista / 7

Go to Start
Type msconfig in the search field and press Enter
Go to "Startup" tab
Go through the startup items and uncheck those you do not want to start. Expand the column command to the command and the full actual exe that is running.
Click OK when finished
Restart your computer
If the computer starts, you will receive a "pop-up System Configuration Utility. Check" NotThis message or launch the System Configuration Utility when Windows starts box and press OK.

Completion

This method should significantly speed the computer. As you add more and more applications on your computer, the startup list will continue to grow, and must at regular intervals in this procedure to boot keep clutter to a minimum.

Thanks To : Emerald Cut Soy Protein Diamond Earrings Premium Glossy Stratosphere Rehabilitation Centers