World's Biggest Snake in Indonesia

0 comments

World's Biggest Snake in Indonesia

A python found in Indonesia is 14.85m (49ft) long and has a maximum body circumference of 85cm (almost three feet) and weighs 447kg (70 stone, 3lbs).

It was captured by a 58-year-old python expert from east Java who was summoned to Jambi after locals, who stumbled upon it while foraging for wood, were too afraid to approach it.

The expert reportedly needed 65 helpers to snare the python and the blessing of tribal leaders as pythons are regarded as deities by many locals.

The python is proving to be a major attraction for the zoo, as about 700 people visit the Curugsewu zoo every day to admire the new but rather lazy star.










source:http://www.break.com

What is the difference between WebServer and Application Server

0 comments

What is the difference between WebServer and Application Server


The Web server



A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page. To process a request, a Web server may respond with a static HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology. Whatever their purpose, such server-side programs generate a response, most often in HTML, for viewing in a Web browser.

Understand that a Web server's delegation model is fairly simple. When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. The server-side program usually provides for itself such functions as transaction processing, database connectivity, and messaging.

While a Web server may not itself support transactions or database connection pooling, it may employ various strategies for fault tolerance and scalability such as load balancing, caching, and clustering—features oftentimes erroneously assigned as features reserved only for application servers.

The application server




As for the application server, according to our definition, an application server exposes business logic to client applications through various protocols, possibly including HTTP. While a Web server mainly deals with sending HTML for display in a Web browser, an application server provides access to business logic for use by client application programs. The application program can use this logic just as it would call a method on an object (or a function in the procedural world).

Such application server clients can include GUIs (graphical user interface) running on a PC, a Web server, or even other application servers. The information traveling back and forth between an application server and its client is not restricted to simple display markup. Instead, the information is program logic. Since the logic takes the form of data and method calls and not static HTML, the client can employ the exposed business logic however it wants.

In most cases, the server exposes this business logic through a component API, such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Platform, Enterprise Edition) application servers. Moreover, the application server manages its own resources. Such gate-keeping duties include security, transaction processing, resource pooling, and messaging. Like a Web server, an application server may also employ various scalability and fault-tolerance techniques.

An example

As an example, consider an online store that provides real-time pricing and availability information. Most likely, the site will provide a form with which you can choose a product. When you submit your query, the site performs a lookup and returns the results embedded within an HTML page. The site may implement this functionality in numerous ways. I'll show you one scenario that doesn't use an application server and another that does. Seeing how these scenarios differ will help you to see the application server's function.
Scenario 1: Web server without an application server

In the first scenario, a Web server alone provides the online store's functionality. The Web server takes your request, then passes it to a server-side program able to handle the request. The server-side program looks up the pricing information from a database or a flat file. Once retrieved, the server-side program uses the information to formulate the HTML response, then the Web server sends it back to your Web browser.

To summarize, a Web server simply processes HTTP requests by responding with HTML pages.
Scenario 2: Web server with an application server

Scenario 2 resembles Scenario 1 in that the Web server still delegates the response generation to a script. However, you can now put the business logic for the pricing lookup onto an application server. With that change, instead of the script knowing how to look up the data and formulate a response, the script can simply call the application server's lookup service. The script can then use the service's result when the script generates its HTML response.

In this scenario, the application server serves the business logic for looking up a product's pricing information. That functionality doesn't say anything about display or how the client must use the information. Instead, the client and application server send data back and forth. When a client calls the application server's lookup service, the service simply looks up the information and returns it to the client.

By separating the pricing logic from the HTML response-generating code, the pricing logic becomes far more reusable between applications. A second client, such as a cash register, could also call the same service as a clerk checks out a customer. In contrast, in Scenario 1 the pricing lookup service is not reusable because the information is embedded within the HTML page. To summarize, in Scenario 2's model, the Web server handles HTTP requests by replying with an HTML page while the application server serves application logic by processing pricing and availability requests.
Caveats

Recently, XML Web services have blurred the line between application servers and Web servers. By passing an XML payload to a Web server, the Web server can now process the data and respond much as application servers have in the past.

Additionally, most application servers also contain a Web server, meaning you can consider a Web server a subset of an application server. While application servers contain Web server functionality, developers rarely deploy application servers in that capacity. Instead, when needed, they often deploy standalone Web servers in tandem with application servers. Such a separation of functionality aids performance (simple Web requests won't impact application server performance), deployment configuration (dedicated Web servers, clustering, and so on), and allows for best-of-breed product selection.


About the author

Tony Sintes is an independent consultant and founder of First Class Consulting, a consulting firm that specializes in bridging disparate enterprise systems and training. Outside of First Class Consulting, Tony is an active freelance writer, as well as author of Sams Teach Yourself Object-Oriented Programming in 21 Days (Sams, 2001; ISBN: 0672321092).

Source: http://www.javaworld.com

Silicone implants for a tattoo

0 comments

Silicone implants for a tattoo




This uncommon tattoo is a idea of eccentric man from Pacific Beach in San Diego, California . His tattoo of lady now have breast silicone implants but he got a horrible infection and had to have it all taken out. Incredibly, he said that after it heals up (IF it heals up), he was going to try it again all through infection almost cost him his leg.






Dog is a Man's Best Friend.

0 comments

Dog is a Man's Best Friend.


There can be few animals that engender in us such an active sense of love, trust and companionship as dogs. Known as man's best friend, they're always pleased to see us and happy just to be with us, whether it's in the car, by the fireside or simply having a stroll.

Amazingly then, to think that these lovely tame animals are, according to DNA research and fossil evidence, descended from wolves and domesticated as little as 15,000 years ago somewhere in East Asia before being taken with the first peoples into North America.

Dogs are social animals

Dogs are social animals able to adapt and fit into almost any social situations we put them into, and this position makes them unique among pets. They are playful, sensitive to our moods and can be trained for a number of specialised roles, such as guide dogs for the blind, hearing dogs, sniffer dogs at airports and hunting dogs.

Dogs are pack animals

One thing that hasn't been bred out of dogs is the pack mentality or pack instinct. This is often interpreted by us to reflect their qualities of devotion and friendship and loyalty, which is also why so many owners see their dogs as family members and why dogs see their owners as human companions and leaders of their pack.

Dogs are intelligent animals

Depending on the breed, dogs can be very intelligent, particularly breeds such as German shepherds, poodles, labradors and retrievers. This quality is often much valued by their owners. As mentioned earlier, their intelligence has led to some breeds being trained to assist society in specialised roles such as avoiding dangerous situations, search and rescue, as guards for sheep and other livestock and law enforcement.

This intelligence, though, isn't always shown in ways we might expect, such as obeying our orders and commands. In some breeds and some dogs, their intelligence is reflected rather mischievously — such as working out how to open doors to get out, how to steal food from the table or how to slip their collars or leads and escape from the back garden. No wonder these animals enjoy a special relationship with us and are loved the world over.

The Breed Categories of Dogs

There are more than 8080 breeds of dogs recognized by kennel clubs around the world. The American Kennel Club (AKC) has assigned all breeds of dogs to one of several main categories:

  1. Sporting Dogs
    The sporting dogs include setters, pointers, spaniels, and retrievers, among others. Sporting dogs are those bred to hunt, particularly game birds.
  2. Hounds
    Hounds come in 2 basic types: Scent hounds, who track prey by following scents, and sight hounds, such as the grehound, who chase prey visually.

    Scent hounds include basset hounds, beagles, dachshunds, bloodhounds, foxhounds, elkhounds, black and tan coonhounds, and others. Scent hounds frequently have short legs (to keep their nose closer to the ground) and long droopy ears, which help focus the scent toward their noses.

    Sight hounds include the greyhound, borzoi (or Russian wolfhound), whippet, afghan, and Irish wolfhound. Most sight hounds are tall and thin, with long legs, slender torsos, and long noses.
  3. Working Breeds
    Working dogs are bred for specific tasks, such as hauling sleds or pulling carts, driving cattle, and as guard dogs. The working breeds include the Newfoundland, bred as a rescue dog, rottweiler, doberman, Alaskan malamute, Great Dane, and schnauzer. Working dogs tend to be large and muscular, with thick undercoats and heavy topcoats that provide protection in all weather.
  4. Herding Dogs
    As might be expected, herding dogs were bred for herding. Herding dogs, which were originally included in the AKC's working dog group, include German shepherds, border collies, Shetland sheepdogs, and Australian shepherds.
  5. Terriers
    Terriers were also originally hunting dogs, but they were used on farms to ferret out and exterminate pest animals, such as rats, mice, and weasels. Terriers come in a variety of sizes, but even the smallest terriers tend to be fierce warriers. Terriers include airedales, staffordshires, border terriers, irish terriers, Australian terriers, and fox terriers.
  6. Toys
    Toy breeds were bred to serve as companion dogs, particularly for those of the upper classes. They were bred to be small, so that they could sit in laps and be carried easily. Toys have no job except to be friendly and affectionate to their owners. Toys include many small versions of larger working or hunting dogs, such Italian greyhounds and miniature pinschers. Other toy breeds include the chihuahua, shih tzu, yorkshire terrier, pomeranian, toy poodle, and pekingese.
  7. Non-Sporting Dogs
    The non-sporting category of breeds can seem like a catch-all group. This group includes the English bulldog, dalmation, chow, lhasa apso, schipperke, and standard poodle.

































Really i love very much dogs.I am planning to get a dog.This is very friendly with man.

Bear, Lion and Tiger Form An Unusual Friendship

0 comments

Bear, Lion and Tiger Form An Unusual Friendship

One American animal shelter has got three friends it fondly refers to as "BLT." The bear, lion and tiger were rescued when they were all about two months old eight years ago.

Georgia - The trio is now inseparable, as they were raised together. Named Baloo (the bear), Leo (the lion), and Shere Khan (the tiger), they were found together when police raided a drug dealer's premises in 2002. The three have lived at Noah's Ark Animal Rehabilitation Center and Children's Care Home ever since. The trio have a Facebook fan page. Staffer Diane Smith told the Mirror:

“It is magical to see a giant American Black Bear put his arm around a Bengal tiger and then to see the tiger nuzzle up like a domestic cat.”

People can visit the animal sanctuary, although it is advised one should call ahead to ensure they are open. Noah's Ark does have some dogs it will adopt out. Not only home to unique animals in need of caring homes, Noah's Ark also runs a group home for up to 24 children, from birth to 18 years of age. The animal facility is home for up to 1,000 animals.