HTC Touch Diamond2 - luxurious smartphone

So the Touch Diamond, this new version has some significant changes such as touch screen larger, digital cameras with resolution higher, more touch control bar zoom / shrink images , ROM and RAM memory capacity worth , more time for longer battery life.


HTC Touch Diamond2 one of the latest smartphone with Touch Diamond So, this new version has a number of significant changes such as touch screen larger, digital cameras with resolution higher, feel more bars application control zoom / shrink images, ROM and RAM memory capacity worth "ne" more time for longer battery life, etc. ..

Diamond2 Touch users (and Touch PRO2) will have access to new features first seen in the Internet and mobile phones such as Push Multi Communication, helps save time by pre-loaded content you often see on the web, going ranked the dialogue for each audience, or just display information of the object you are trying to contact directly.

Still design and style nearly identical brothers HTC Touch Diamond, Touch Diamond2 size 107.85 x53, 1x13, 7mm, black crust, like a mirror ball looks luxurious and smooth. However, if the Touch Diamond is creating designs with more "cut" on the surface of the shell of the machine, the Touch Diamond2 Now almost no outward edges beveled so completely flat in the fourth Lỳ face.

HTC said that the criteria for the design of the Touch Diamond2 is to help users manipulate all functions with just one hand on the touch screen 3.2 "(Touch Diamond is 2.8), 480x800 pixel resolution and application of improved three-dimensional interface of TouchFLO 3D and Microsoft Windows Mobile 6.1 operating system. Display on the screen through a high quality test, the control button and point to the rapid induction, immediate. For those who prefer a screen QWERTY smartphone, the Touch physical Diamond2 not meet because all controls must be through the touch screen. However, as products Touch PRO2, just below the screen of the Touch Diamond have a sensors bar, users can surf the fingers and lightly touches on this bar to zoom / shrink images easily, quickly.

Touch Diamond2 own digital camera 5 megapixels (3.15 megapixels compared to the Touch Diamond) with auto focus function, quality photos through testing can be evaluated as sharp in some products HTC conditions we have to try. However, as most of the HTC smartphone, the Touch Diamond2 camera without flash. Also use of processors like Touch Diamond Qualcomm MSM7200A 528 MHz, but powerful Touch Diamond2 Left in RAM capacity of 288MB and 512MB ROM (the Touch Diamond in turn is 192MB and 256MB). Touch Diamond2 microSD memory card slot.

HTC Touch Diamond2 is promoting what is the power of capital smartphone as a wireless Internet connection speed Wi-Fi, HSPDA, with global positioning systems and GPS applications, office applications support information individuals of strong, popular, needed, especially for entrepreneurs and those who often busy. Finally, the manufacturer said, with Li-Ion 1100mAh battery than the Touch Diamond's 900mAh, battery life time of the Touch Diamond2 nearly doubled the waiting time (500 hours compared to 285 hours), but time Phone not time to change.




You can buy this mobile in: HTC Touch Diamond2 Unlocked Phone--International Version with No Warranty (Black)







HP ProBook 4310s - the power and fashion

HP 4310s ProBook with black and red fashion with accents chiclet keyboard and high configuration.

Not only contribute to bring the look of fashion for the entire machine as well as inspiration for the user, the keyboard as chiclet actually useful, with a broad gap between the keys, so users do not fear of press wrong. However, those with fingers will need to have a certain time to get familiar with the keyboard of the machine, by the size of the keys seems a bit, especially the sequence F keys at the top and arrow keys in the lower right corner. Like the screen border, the background of the keyboard is also coated with scratch-resistant shining paint. In addition, the 4310s have keyboard spill water resistance, so if unfortunately you type on your keyboard pour a glass of water is also not too panic.

ProBook, brief 4310s square, sturdy with straight edges. Exterior surface of the machine is obscure avoid leaving fingerprints and dust

If the keyboard is black, then to the hands and under the touchpad, as well as parts of the loudspeaker above the Left is painted red like the skin color module out of the machine. Touchpad's surface is quite smooth and responsive ProBook 4310s, helping the user can manipulate very easily. Besides touchpad, close to right angles, HP laptops equipped for business people a device to read your fingerprint advanced to increase computer security. Meanwhile, at the speaker above the keyboard, external keyboard on / off power button also has a sensor array that the function of activated QuickLook 2, on / off Wi-Fi, mute and increase or decrease the volume. When machine operation, all key touch as well as key sources are LED light.

HP 4310s equipped ProBook mirror screen super bright LED-backlit wide BrightView 13.3-inch resolution of 1366 x 768 pixels, capable display with very good quality. With the frame rate 16:9, watching movies on the HP 4310s will give users the feeling as being outside the theater widescreen viewing. However, there is a common drawback of the laptop screen that has not overcome the 4310s, the narrow viewing angle. This makes the change ngẩng corner of the screen, or the viewer is sitting in position to monitor the area, image quality will be reduced significantly.

In the upper border of the screen, HP equip the 4310s ProBook webcam 2 megapixel resolution, enough to meet demand chatting with images or video meeting of the user. In addition, the laptop is built-in HDMI port right next to connect to the source signal with high resolution, in addition to three USB ports, a VGA port production, memory card reader, ExpressCard slot / 34, Ethernet port, the port connected to the modem, headphone jack, microphone, lock computer and DVD burner. When tested on ProBook 4310s music player, external speakers for the volume quite loud. Treble sound is reflected strongly, while the full bass slightly weak.
With a total weight of 1.9 kg, HP ProBook 4310s have 13.3 inch wide screen 16:9 ratio, horizontal and vertical of the machine in turn, 32.5 and 22.9 cm. Thickness ranges from 2.7 cm to 3.8 cm at the edges before the edges later.

Equipped with the Intel Core 2 Duo P7570 2.26 GHz, 2GB RAM, 250 GB hard drive. With this configuration, users can run multiple different applications that do not affect operation speed of the system. SATA HDD up to 7200 rounds per minute with high speed data transmission is about 24.8 MB per second. Discrete graphics ATI Radeon HD 4330 with 512 MB of graphics memory, compatibility with a script of Microsoft DirectX 10.1 graphics.

With the full support of standard Wi-Fi 802.11a/b/g/draft-n, the ability to connect to the Internet wirelessly to HP 4310s ProBook always very stable. 4 cell battery of the machine can operate continuously for about four hours, using power saving features logically. Addition, the proprietary software included is one of the increasing attractiveness of the 4310s. With HP QuickLook 2, users can check email, calendar quickly through a single button. HP 3D DriveGuard help protect data stored on your hard drive before the impact can occur during use, while File Sanitizer features the HP ProtectTools suite of tools to help permanently remove files not used to and not to recover.

You can refer to: HP ProBook 4310s - Core 2 Duo T6570 / 2.1 GHz - RAM 2 GB - HDD 320 GB - DVD?RW (?R DL) / DVD-RAM - GMA 4500MHD - Gigabit Ethernet - WLAN : 802.11 a/b/g/n (draft 2.0), Bluetooth 2.1 EDR - Vista Business / XP Pro downgrade - 13.3" Widescreen TFT 1366 x 768 ( WXGA ) - camera - Smart Buy - Microsoft Office Ready


Useful tips for choosing and using mobile

Some search for latest smart phones, best smart phones, while others only need a simple phone for calls and messaging. But will not have two mobile service or package is the same so you need to choose a phone and service package right for you.

Useful tips for choosing and using mobile

Selection of service providers

Main problem when choosing a service provider coverage and service packages accordingly. Today, when most of the cellular network has coverage almost nationwide is to compare the two services is primarily based on user policies including rent, charges and service quality the organizational assessment. You need to find out if service providers offer packages charges for the implementation of domestic and international calls? You should select the tariff plan that best suits the needs?

In addition, the value-added services - service providers that allow subscribers to use mobile phone from the terminal through the mobile network (in addition to receiving and making calls), may have to sign registration or no registration - also a point you should note before deciding on a mobile network. Some services need attention as international roaming services (roaming) when you use the service abroad and services WAP, GPRS, MMS,3G...

Select mobile

Design: The basic format of the phone is now turned on the lid, rotate, slide or bar. You should check the phone to buy: There are just the headphones and light enough so you do not call for a long time?

Battery time: Most phone talk time 5 hours and at least two to three days in a state holiday. One of the factors that affect the time pin is used network technology used in the 3G high-speed usually consumed more battery.


Useful tips for choosing and using mobileIs it difficult to choice best mobile?

Monitor: If you want to surf the web, watching movies or editing documents, the screen is big enough advantage for you. Also, check the brightness, contrast and resolution of the screen.

Not all phones are using the same sensor technology. The multi-point touch screen like the iPhone and Palm Pre can handle multiple touches at the same time so you can enlarge or shrink the operation site closed / open two fingers. These phones are only capable of handling a touch point at a time. Some touchscreen will meet (such as light or sound vibration) when touching; meet will help you avoid the extra hit. In general, to evaluate the usability of, you need to check the list on the touch screen is arranged with means to scroll up and down and the ability to adjust sensitivity.

Keyboard: If you drafted several long messages or email, you will enjoy with a full QWERTY keyboard. Some touch-screen phone, the iPhone, a touch keyboard, but need time to know.

Wi-Fi phone that supports wireless network connection will help you surf the web and high-speed data transmission. Even if your phone supports 3G, you should still find features Wi-Fi for high-speed network access, safe and cheaper.

Smartphone

If you are looking for smartphones (phones with mobile operating system) - be looking for a platform suitable for you. Smartphone using Windows Mobile often accompanied for the Microsoft Office Mobile, so you can review and editing documents on it. Platform Windows Mobile, Google Android, Palm and RIM BlackBerry WebOS can handle multi-tasking. Apple iPhone can also run multi-tasking, but only for some specific applications. Many users write software is provided for the smartphone platform, but not comparable to Apple's App Store, which lets you choose from thousands of software is available and download directly on your iPhone .









Sony Ericsson C510 - power of camera in a mobile

C510 fashion design, simple but pretty much integrated new technology industry camera with a popular Internet application. With W395, Sony Ericsson announced a new phone line in the camera "cyber-shot" - not least famous also products line its Walkman music player - the C510

Sony Ericsson C510 -  power of a camera in mobile

This new product is designed like a fashion phone than a computer for "people" use photos mobile games. Design as bars, compact size, suitable for many different type users , special machines only 12.5 mm thin and 2 color choices for the user (black and silver). Surface on the computer screen is 2.2 ", 256,000 color, capable of automatically rotating horizontally. This is one of the screen display quality possible. Above the screen is a small camera for video phone function, the bottom screen is the system keys. While the navigation keys are designed unimpressive numbers there are keys to the design, separate, easy to use. Hot keys for functions photography, M2 card slot can be hot, common gateway interface for headphones, charging and USB connection are arranged in the hull side and volume keys.

Rear hull with integrated speakers and a cover protects the lens if you do not observe carefully that this is the camera lens cover. Want to take pictures, you have to push the lid is slid down to reveal the lens with LED flash two adjoining each other in a block. Design is quite new, like many digital cameras, but this cover does not have fingers point Pi and quite slippery.

Besides lens 3.2 megapixel camera with many features familiar in digital camera mode, such as auto focus, 3x digital zoom... The first time, Sony Ericsson has integrated technology: face recognition (Face detection), smile (Smile Shutter), which had been integrated into the Cyber-shot digital cameras to Sony's optimized for portraits. Specifically, C510 also has panoramic mode (panorama), quite rare in the current mobile phone photography. Tests showed most functional imaging of the C510 are implemented smoothly, with high image quality.

Sony Ericsson C510 -  power of a camera in mobile

When connected to the Internet, you can easily upload the photos have taken over some tasks C510, sorry that you can only connect to the Internet via 3G (HSPDA standard) or because the machine does not have GPRS Wi - Fi. For Internet applications, users can use the C510 service YouTube, or service search music often seen in W line of Sony Ericsson TrackID. Course C510 also has entertainment applications such as mobile digital music, video, FM radio...

Time using the battery manufacturer announced that 400 hours for standby time, 10 hours for talk time (all use the GSM network). Continuous time playing music with headphones through testing is 14 hours.


You can see more detail technical this mobile in here : Sony Ericsson C510TriBand Cyber-Shot Camera Phone C510 - 3.2 MP Camera - International Version with No Warranty (Black)









Portable JNDI names in EJB 3.1

Java EE 6 made some efforts to standardize JNDI names at global,application, and module levels. Now EJB deployed to EJB-3.1-capable server will have various standard JNDI names registered. EJB 3.1 spec defines the following 3 levels of JNDI names for EJB:

Global JNDI name:
java:global[/<app-name>]/<module-name>/<bean-name>[!<fully-quali-fied-interface-name>]
Application-scope JNDI name:
java:app/<module-name>/<bean-name>[!<fully-qualified-interface-name>]
Module-scope JNDI name:
java:module/<bean-name>[!<fully-qualified-interface-name>]
The following exampels shows various EJB JNDI names, depending upon how the EJB is packaged, its business interface(s), and bean class:

Bean class: test.TestBean
business interface: none






















How the EJB is packaged

Global JNDI names


Application-scope JND names

Module-scope JNDI names

in testEJB.jar inside testApp.ear

java:global/testApp/testEJB/TestBean

java:global/testApp/testEJB/TestBean!test.TestBean


java:app/testEJB/TestBean

java:app/testEJB/TestBean!test.TestBean



java:module/TestBean


java:module/TestBean!test.TestBean


in testWeb.war



java:global/testWeb/TestBean

java:global/testWeb/TestBean!test.TestBean


java:app/testWeb/TestBean

java:app/testWeb/TestBean!test.TestBean


java:module/TestBean


java:module/TestBean!test.TestBean



in testEJB.jar



java:global/testEJB/TestBean

java:global/testEJB/TestBean!test.TestBean



java:app/testEJB/TestBean

java:app/testEJB/TestBean!test.TestBean



java:module/TestBean


java:module/TestBean!test.TestBean


BlackBerry Tour 9630 Review

No Wi-Fi, the BlackBerry owners Tour neat design, QWERTY keyboard editor e-mail well.

BlackBerry Tour 9630

BlackBerry 9630 Tour is considered a legacy mobile style to Bold Curve 8900 or earlier. HP looks larger Curve model line, but neat when standing next to the Bold. Entire body strong, to feel sure when the situation on hand.

The front of the Tour, large 2.4 inch TFT screen with resolution 480 x 360 pixels, with 65 thousand colors, images and characters are clear and sharp display. Power button is on top of your keyboard and turn silent mode, also down the right side of increased volume, 3.5 mm headset jack, microUSB port.

Controller with the call button, Menu shortcuts back to BlackBerry, film is back below the screen. As soon as the center of the trackball, QWERTY keyboard with 35 buttons are designed very similar to the Bold, slightly narrower but still enough to compile because of the emergence of the penis. Below is a backlight system, which allows editing, working in low light conditions easy.

Tour RIM continues to be intuitive interface similar to the forums he is Bold and Curve 8900. However, if you do not watch carefully or use not more, users can easily be confused by the icon very similar. Supported set custom wallpapers, standby screen.


BlackBerry Tour 9630Tour next Nokia E71

This is a powerful BlackBerry phone to the office and connected social network. HP pre-installed applications Document To Go version of the Edison Standard Data Viz, support working with text format such as Word, Excel, Powerpoint. Program only allows editing, to create new documents users must upgrade to the Premium Edition and take charge.


RIM also support management tools such as personal calendars, notes, recorder, computer ... Tour with a strong connection, support programs and sign and implement action on social networks like FaceBook, Flickr, MySpare ready.

One new feature of this model is going to support World time applications App for BlackBerry. Repositories for programs sorted by name, the group application, the program most downloads...

Like RIM's BlackBerry, Tour also strong support for e-mail programs like Microsoft Exchange, IBM Lotus Domino or Novell GroupWise. Users can access 10 e-mail accounts via POP3 or IMAP4, BlackBerry Internet Service. HP also supports the connection, log online chat services like Windows Live, Yahoo Messenger, Google Talk, and AIM.

Machine allows the option between two modes GSM and CDMA. In that connection the two-band CDMA, GSM is also the full four-band, computer support functions roaming, roaming calls in 220 different countries.

BlackBerry Tour 9630

One of the most unfortunate limitations in this model is no Wi-Fi. The connection of machines such as Bluetooth with A2DP, GPS global positioning.

3.2 Megapixel camera of the machine is equipped with 2x digital zoom capability alongside features automatic focus and flash. Users can also turn on GPS, take pictures to add picture placement agent. Experiment showed that slightly fuzzy image quality, speed, focus, shooting is quite slow. However, the video features a good, clear pictures, even low light conditions.

Tour assistance programs multimedia music player with music formats, popular video such as MP3, WMA, WMA ProPlus Bluetooth, AAC, AAC +, eAAC +, MPEG4 and WMV. In addition, users can customize the list to create, set mode, find the song or video on full screen.

BlackBerry Tour runs on the Qualcomm 528 MHz processor, features such as web browsing, downloading software, conversion applications faster and smoother. Good call quality, the speakerphone. 1400 mAh battery for 5 hours talk time, standby time is 14 days.


You can see more detail technical this mobile in Amazon : BlackBerry Tour 9630 Phone, Black (Verizon Wireless)




EJB Lite testing with JUnit and embeddable container


In EJB 3.1, one can unit-test EJB using standadard EJB API, JUnit, and outside any application server. This is how I created an Eclipse java project to unit-test a simple EJB with GlassFish v3.

1. inside Eclipse, create a new java project, named ejblite.


Build path: $GLASSFISH_HOME/lib/embedded/glassfish-embedded-static-shell.jar $GLASSFISH_HOME/modules/javax.ejb.jar

Output dir: testApp (it is used in global jndi name in the test)

2. create a new java class named TestBean:
package test;

import javax.ejb.Stateless;

@Stateless
public class TestBean {
public int add(int a, int b) {
return a + b;
}

public int multiply(int a, int b) {
return a * b;
}
}
3. select TestBean.java in the package panel, create a new JUnit Test Case (File -> New -> JUnit Test Case). Choose TestBean as the test target, and the test method for both business methods (add and multiply) will be generated, along with setUp and tearDown.

4. modify the test case:
package test;

import javax.ejb.embeddable.EJBContainer;
import javax.naming.Context;

import junit.framework.TestCase;

public class TestBeanTest extends TestCase {
private EJBContainer container;
private Context namingContext;
private TestBean testBean;

@Override
protected void setUp() throws Exception {
super.setUp();
container = EJBContainer.createEJBContainer();
namingContext = container.getContext();
testBean = (TestBean) namingContext.lookup("java:global/testApp/TestBean");
}

@Override
protected void tearDown() throws Exception {
super.tearDown();
namingContext.close();
container.close();
}

/**
* Test method for {@link test.TestBean#add(int, int)}.
*/
public final void testAdd() {
int a = 1, b = 2, expected = a + b;
assertEquals(expected, testBean.add(a, b));
}

/**
* Test method for {@link test.TestBean#multiply(int, int)}.
*/
public final void testMultiply() {
int a = 1, b = 2, expected = a * b;
assertEquals(expected, testBean.multiply(a, b));
}

}
5. select TestBeanTest class, and run it as JUnit test.

Our EJB classes all reside under testApp directory (the output dir of the current project), and testApp is also used as the module-name for the current EJB app. If you choose to use a different output dir value, you will also need to change the global jndi-name accordingly.

If you are interested in using DataSource and JPA in EJB embeddable, check out EJB lite, JPA, DataSource embedded in java application.

LG KS360 - Good support for email and chat

Although plastic outer skin, but not very attractive LG KS360 more likely to captivate young people by the bright tones of the Highway Layout QWERTY keyboard when the user push across the lid the machine.

Basically, the lid of your screen and system control buttons. But size is only 2.4 "but the screen is part of the KS360 looks majestic and quite unique. You press the button convert it into touch-screen "virtual" for a dial or browse the directory using the same
"truth" phone touch. Meanwhile, the push cap machine aside, the screen will be automatically converted to display the cross in order to "same color" design with QWERTY keyboard horizontally.

LG KS360 -  Good support for email and chatLG KS360 - with young design

LG KS360 operating on three GSM frequency bands commonly used, Web browsing and email via GPRS, Bluetooth 2.0 (with A2DP) and USB 2.0 and of course, indispensable feature to send receive SMS and MMS. In addition, the KS360 features a built-used by Yahoo! as oneSearch - Search, e-mail, Messenger and Address Book.

KS360 intuitive menu and easy to use. Full QWERTY keyboard keys are rounded to the size and distance to help reasonable flexibility in drafting the message, email, especially the button-down goods, spaces, delete, reverse, open the list of symbols actually KS360 manual processing to effectively support those who regularly have to work with email from mobile phones. Test showed that the installation standard POP3 email receiving and sending simple fast. Browser integration meet several websites, showing full, easy to see, open the display horizontally.

KS360 camera equipped with 2M pixel with resolution up to 1600x1200 and allows image quality adjustment, white balance (with night mode), color effects, capture timer and continuous shooting 3/6 / 9 images; supports VGA movie recording, with sound. Digital zoom feature for viewing the photos, film and photograph (photos 640x480 or less). Specially, allowing the camera to adjust "light compensation" for each level of physical similar professional digital camera, supports high light sensitivity. Photo experiment indoors and outdoors beautiful, bright color and features amazing (with a 2 megapixel sensor) though no machine flash. Film in the office (fluorescent) fine, sounds good. KS360 also lets you print photos through Bluetooth and PictBridge connectivity. Unfortunately, the buttons are arranged fast imaging in the body left, the volume buttons and a zoom button, so users familiar with photography will feel a little finger pointing opposite hand. Micro-SD memory card slot (supports up to 4GB) and USB 2.0 ports in the body must be versatile, machine has 15MB of internal memory. KS360 you can connect the computer to copy music, photos, video and data synchronization, contacts, messages with PC Suite II utility (CD included).


KS360 has support for MP3 audio with 10 filter modes made available, create a list of specific songs, movies MPEG4, FM radio and tape recorder integrated. Loudspeaker "singing" big but little "bubble" in the highest volume level. Music player comes with headphones the sound quality is very good, in clear and warm, even with the heavy rock. Wireless headset is quite long, suitable for inclusion in the pants pocket or bag, backpack.

KS360 also add calendar, notes, file manager, built two games is fun and Skateboard Extreme Cafe Sudoku, Java application support, security features and machine via SMS mode on aircraft. Battery time during the experiment achieved high. Machine moderate weight (108g).


You can buy this mobile in Amazon: LG KS360 Unlocked Phone with 2 MP Camera, Bluetooth Stereo and MP3, Video Player--International Version with No Warranty (Black)







A sample EJB 3.1 Lite client

EJB Lite is a lightweight subset of EJB 3.1, including the support for running EJB container embedded in the current java application. So one can run EJB without appserver. The following sample contains a no-interface stateless EJB, and a java application that looks up and invokes the EJB.

1. project structure:
mkdir -p ejblite/src/test
mkdir -p ejblite/testApp

2. go to ejblite/src/test, and edit 2 java files:
-------------
TestBean.java
-------------

package test;
import javax.ejb.Stateless;

@Stateless
public class TestBean {
public String hello(String name) {
return "Hello, " + name;
}
}

-----------
Client.java
-----------

package test;

import javax.ejb.embeddable.EJBContainer;
import javax.naming.Context;
import javax.naming.NamingException;

public class Client {
public static void main(String args[]) throws NamingException {
EJBContainer container = null;
try {
container = EJBContainer.createEJBContainer();
Context namingContext = container.getContext();
TestBean testBean = (TestBean) namingContext.lookup(
"java:global/testApp/TestBean");
String hi = testBean.hello("client");
System.out.println("testBean.hello method returned: " + hi);
} finally {
if(container != null) {
container.close();
}
}
}
}
3. compile and run from src/test directory, using GlassFish v3:
javac -d ../../testApp/ -cp $GLASSFISH_HOME/lib/embedded/glassfish-embedded-static-shell.jar:../../classes Client.java TestBean.java

java -cp $GLASSFISH_HOME/lib/embedded/glassfish-embedded-static-shell.jar:../../testApp test.Client
You will see the following output, when running with GlassFish v3:
Dec 8, 2009 3:47:45 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 (74.2) startup time : Embedded(1246ms) startup services(511ms) total(1757ms)
Dec 8, 2009 3:47:45 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
Dec 8, 2009 3:47:46 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
Dec 8, 2009 3:47:46 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.SecurityLifecycle <init>
INFO: security.secmgroff
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security startup service called
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.PolicyLoader loadPolicy
INFO: policy.loading
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm file of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm certificate of classtype com.sun.enterprise.security.auth.realm.certificate.CertificateRealm successfully created.
Dec 8, 2009 3:47:47 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security service(s) started successfully....
Dec 8, 2009 3:47:48 PM com.sun.ejb.containers.BaseContainer initializeHome
INFO: Portable JNDI names for EJB TestBean : [java:global/testApp/TestBean!test.TestBean, java:global/testApp/TestBean]
testBean.hello method returned: Hello, client
Dec 8, 2009 3:47:48 PM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
Dec 8, 2009 3:47:48 PM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
Dec 8, 2009 3:47:48 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
It's a good practice to close the EJB container before program exists, to avoid any resource leaking. It's more easily handled in JUnit tearDown method. See my follow-up post EJB Lite testing with JUnit and embeddable container

How to get module name and app name

Java EE 6 brings an easy and portable way to get the module name and application name of the current app, using @Resource field injection or lookup:
    @Resource(lookup="java:module/ModuleName")
private String moduleName;

@Resource(lookup="java:app/AppName")
private String appName;
The above code can be in any Java EE component classes, such as servlet, servlet filter, web listener class, JSP tag handler class, JSF managed bean, EJB bean class, interceptor class, application client main class, and their super classes as well.

You can also look up the module name and app name by their reserved jndi names:
//look up inside a method
String mname = (String) initialContext.lookup("java:module/ModuleName");
String anmae = (String) initialContext.lookup("java:app/AppName");
If you only need moduleName or appName in a particular method, I feel looking them up on-demand is slightly better.

From Java EE 6 forward, the default module name is the base name of a WAR, ejb-jar, or application client jar, that is, the jar name without the .war and .jar extension. One can customize it in descriptors (web.xml, ejb-jar.xml, application-client.xml), though this is rarely needed.

The default app name is the basename of a EAR, i.e., the EAR name without the .ear extension. One can customize it in application.xml.

New power in Lenovo Y450 laptop

Y450 version configure new P8700 chip using good technology platform and the latest Intel.

New power in Lenovo Y450 laptop

Y450 - P8700 keyboard black gray, a combination of multimedia keys above the function keys, with touch keys light when triggered arranged harmony and scientific help users communicate with computers easy easy convenience.

Have you mouse touches the user can rotate the circular finger on the mouse to move the site or file, folder, expand or drag two fingers to zoom, thumbnail images.

New power in Lenovo Y450 laptopY450 with good design

IdeaPad Y450-P8700 integrated within the configuration of the powerful Intel Core 2 Duo P8700 2.53 GHz/1.066 MHz/3MB L2 Cache. This is the best and latest technology from Intel. Ram 4 GB of DDR3 technology can update up to 8 GB. Graphics 512MB NVIDIA GeForce GT240M help users can handle the job, in accordance with the graphic design or gaming, if only using office applications is almost time for the application of a boot seconds. HDD 500 GB capacity to meet the user's database.

Lenovo Y450 screen size - 14 inch P8700 is the resolution of 1366 x 768 pixels with the design standard for 16:9 wide-screen images clear and bright energy efficient. With Backlit LED screen technology not only help save 30% power consumption compared to LCD but also a common electronic products green: No use of substances harmful to the environment as mercury, lead. .. because the welds were replaced with copper and silver alloys.

Sound system with Dolby Home Theater software OneKey Theater is the first software to allow users to easily switch definition screen and sound effects from normal mode to view movie, Entertainment position.

Ideapad Y450 - P8700 is equipped with features of Lenovo Desktop Navigator help for more unique way to use and manage computers.

You can see more specs in : Lenovo IdeaPad Y450 - notebook - Intel® CoreTM 2 Duo processor T6400 (2GHz 800MHz 2MB), Genuine Windows Vista Home Premium 64, 14.0 " HD Wide LED 1366x768, 4 GB PC3-8500 DDR3 SDRAM, 320GB sata hd, DVD Recordable (Dual Layer), Intel Graphics Media Accelerator 4500MHD




Nokia E75 - a efficient assistant

E75 running Symbian S60 v9.3, supports GSM and HSDPA (3G), integrated GPS. HP pre-installed Quick Office, PDF reader, dictionary. E75 is the first version of E line support N-Gage platform.

Nokia E75 - a efficient assistant
Besides feature integrated GPS on and off quickly ALARM call to arms by light rhythm on screen against your face or down - appeared in 8800 Arte line of high quality - is a prominent feature other shows E75 the test is applied Messaging Nokia improvement. Not only supports POP3/IMAP4 email protocols, new in Nokia Messaging is integrated through third box free Yahoo! Mail, Hotmail and GMail, as well as feature the Mail for Exchange to sync email internally.


Tests showed, through GPRS or WiFi (support connectivity WiFi 802.11b / g, GPRS and EDGE integrated), the installation of Yahoo mail, GMail and Hotmail can be done quickly - just enter the email and password. Only an interface, you can manage multiple email accounts; set cycle automatically synchronized with the server service; organize email. E75 can display web pages directly embedded in the email without opening your browser.

E75 running Symbian S60 v9.3, supports GSM and HSDPA (3G), integrated GPS (A-GPS support), capable of Bluetooth 2.0 (with A2DP) and USB 2.0.

On designs, E75 is not "imposing" about horizontally like E71 or E63, under the screen 2.4 "(16 million colors) is the sequence joystick and keyboard of the standard glossy frames with metal edges make sure. A unique point in the E75 is a full QWERTY keyboard only appears when users push the slide to the right, large buttons and smooth. E75 equipped to design an accelerometer can automatically screen format from vertical to horizontal depending on how your computer.

Menu details, intuitive and easy to use. Browser to view the complete and fast. Other attractive features of the E75 is a search engine, support for two online search services Google and Yahoo, as well as "record release" all the content in your inbox, contacts, calendar, notes libraries, music / images on ... In addition to "the face" brothers E series is to support other contacts on the SIM card, E75 also has the ability to search by keyword is excellent.

Machine installed Quick Office, PDF reader, dictionary. E75 is the first version of E line support N-Gage platform.

With E75, Nokia shorten the gap between entertainment and streamlining streamlining the business people to enjoy quality music with stereo headset included is improved - warm and sharp. E75 supports playing music, watching movies, FM radio. E75 equipped with 3.5 mm headphone output jack, micro SD card slot (up to 16GB). When connected to a computer to exchange data via USB cable, E75 also "enlist" rechargeable batteries.


Nokia E75 - a efficient assistant
But E75's camera is 3.2 megapixel resolution, supports auto focus and LED flash as the image quality test has not matched range, slightly reclining silver color and does not focus when shooting distance. Computer support to 8x digital zoom; adjust brightness, exposure compensation, color mode, scenery shooting, white balance; Self-timer, but notably feature sequence every 10/30 seconds or fifth / 30 minutes until all cards / memory, geographical indications to add photos and share photos via File on Ovi service. Additionally, E75 also arranged a camera (VGA resolution) at the front to "ready" for the feature phone images. E75 support film VGA, 30 frames per second (E63 and E71 is only 15 frames per second), with sound. Photography button layout quickly handed.

According to Nokia, E75 is useful 100MB memory (shared), supports 5 hours talk time and standby time of 280 hours.


You can buy this mobile in Amazon: Nokia E75 Unlocked Phone with 3.2 MP Camera, 3G, Wi-Fi, GPS, Media Player, and 4 GB MicroSD Card--U.S. Version with Warranty (Silver Black)







Followers

Pageviews Last 7 Days