![]() | ||||||||
The following feature comes in handy for businesses who desire a "Call Us" link. In our Ribs-R-Us menu example, let's say that our site visitor wishes to call the restaurant with a question. By clicking on the "Call Ribs-R-Us" button, the restaurant's number would automatically be dialed by your phone. The HTML code behind that link is as follows:
Fad or Future Though .mobi names have only been available for about a year, .mobi domain names are being gobbled up just as quickly and passionately as what we saw with the .com names. Some recent headliners include Flower.mobi (sold for $200,000), Sportsbook.mobi ($130,000) and Fun.mobi ($100,000). Something that is being done a little differently this time is that mTLD Global Registry has set aside approximately 5,700 words and phrases for a more "equitable distribution" (as opposed to the traditional first-come-first-served basis that we witnessed with the .com domain name feeding-frenzy). A selection of these premium names are auctioned off on a quarterly basis thus creating a more level playing field in the distribution of these names. The next date of auction: November 29th, 2007. Just a few of the more desirable names to be auctioned off: games.mobi, music.mobi, movies.mobi, horoscope.mobi, sports.mobi, radio.mobi, soccer.mobi and videos.mobi. So who is mTLD? mTLD (short for mobile Top Level Domain, and informally referred to as dotMobi), was first conceived within Nokia back in 2000. In 2003 Nokia asked Microsoft and Vodaphone to join the discussions. By 2004, 10 other companies (made up of mobile network operators, mobile phone manufacturers and Internet search and content providers) had been invited to join, Google being included on that list. In 2005 ICANN approved dotMobi as the official global registry for .mobi. A year later, dotMobi launched its General Registration period and a two-week land rush ensued. The future of .mobi Besides being fun to code, I truly believe that .mobi sites have opened up a whole new frontier for software developers. Though I don't have a crystal ball, I am quite confident that there isn't a business out there that isn't going to eventually want a .mobi version of its Website available to its customers. Coming soon...stoutsystems.mobi! Brian Skory is a Technical Staffing Consultant with Stout Systems. He has spent the better part of twenty years in the technical trenches doing everything from network administration to slinging espressos. E-mail A Java Web
Application--Using Only Java?
|
signupButton = new
Button(); signupButton.addClickListener(new ClickListener() public
void onClick(Widget
sender) |
Most people might think that a Java to JavaScript compilation would mean a debugging nightmare. Google solved that by creating an emulator that allows you to run the code, set breakpoints and even do on-the-fly changes. Coming from a JSP world, this completely blew my mind. In over eighteen months of using GWT I have yet to look at the JavaScript it creates.
In addition to debugging, unit testing works like any other Java application. Since all of the code is standard Java, you can simply write unit tests against any of the code and run it using the standard Java Runtime Environment. If you need the ability for your unit tests to run against the hosted code, Google made that possible using the emulator and a special test case class from GWT.
GWT works great with Eclipse. It ships with a tool to create an Eclipse GWT project and for less than $50 you can get GWT Designer, which among other things allows you to create Eclipse code using a WYSIWYG designer. I’ve written about twenty different applications now with GWT and I find the Designer to be well worth the money.
If you need server side code, and I can’t imagine not needing it, GWT ships with two solutions. You can either use standard JavaScript Notation Object (JSON), something I’ve never done, or use GWT Remote Procedure Calls (RPC), which works with Servlets. This means that you end up with two code bases--a client code base and a server code base. The client code base becomes JavaScript and the server code base is deployed as a Servlet. In practicality, you simply wrap it all up in a Java Web Archive (WAR) and deploy it on Tomcat or another standard Servlet container. I use JBoss, but that’s because I want to take advantage of some other J2EE features on the server side.
SignupRemoteService.Util.getInstance().signup(
{
public
void
onFailure(
Throwable caught)
{
showErrorMessage("There
seems to be a problem"
+
"
with the data you entered."
+
"
Please check the information"
+
"
and try again.");
signupButton.setEnabled(true);
}
public
void
onSuccess(
Object result)
{
String errorMessage =
(String) result;
if
(errorMessage != null)
{
showErrorMessage(errorMessage);
signupButton.setEnabled(true);
}
else
{
flexTable.getRowFormatter().setVisible(
5, true);
showInfoMessage("Almost
there."
+
"
Please check your email"
+
"
and copy and past the "
+
"Authentication
Code into"
+
"
the box above.");
validating = true;
signupButton.setEnabled(true);
cancelButton.setEnabled(true);
}
} }); |
Since the GWT server side is just standard Java deployed on a Servlet container, you can use all your favorite Java libraries. For me, this was huge. My application needed strong database support and I desperately wanted to use Hibernate with Annotations. It also meant that I could use Spring, Log4J, Jackcess (to import access files) and so many other mature Java libraries on the server side.
Obviously I can’t speak more highly of GWT. If you’re already familiar with Eclipse and Java, it will probably take you less than an hour to take GWT for a test drive. If you’re faced with writing a Web application and you already love Java, this will be time well spent.
Bill Heitzeg is Vice President of Technology for Summit Mobile Solutions. He is also the founder of Emerald Software, a consulting from that specializes in Web service and Web application design and development. Email or visit his google group.
Remember it’s DEMAND that fuels an economy--not the stock market, not the Federal Reserve, not the news media. Any time or place where demand for goods or services exists, opportunistic individuals and companies find a way to service that demand.
Right now there is no less demand for talented high tech people and services than before. In fact, there are plenty of well-paying, stimulating opportunities in the Midwest. So the most important thing you can do as a job seeker is to not agree that things are tough. Decide what you want, go after it and you will find it.
As Stout Systems concludes its 10th year in business, I want to thank all of our customers for your long commitment to our services and for helping us make this the most successful year in our history. You have my promise that we are committed to helping you in any way possible, and that we will continue to refine and improve what we do for you.
See you all on the flip side in 2008!
John W. Stout is the founder and president of Stout Systems Development. He has nearly thirty years' experience in the software industry. He is also sought after as a technology speaker, presenting sessions at developer conferences and user groups. Email
Stout Systems welcomes new employees Steve Clark (Software Engineer Consultant), David Smith and Robert Dennis Jr. (Database Consultants), Matthew Wickey (Project Management Consultant).