Promotional products are made for promotion.

It doesn’t have to cost a fortune!

May 2nd, 2008 by admin

If you’re on a tight budget you want, obviously, your web hosting to be as cheap as possible. Finding cheap hosting nowadays isn’t that big of a problem, if you where to look, and they are pretty damn good as well! Forget about those pricy dedicated hosting services. What you wanna be looking for is shared webhosting.

In sharing server with other companies you’ll get cheap hosting and you won’t lose any of the quality one should expect from today’s hosts. There is really nothing indicating that shared hosts won’t work properly. The bandwidth, uptime and disk space are often very impressive even though they come cheap.

If you are new to all of this you could always turn to the companies as they (at least the serious ones) have excellent customer service. Any question you might have they will answer. Why not start a web site andwrite about what you like and connect with people from all over the world? That is what I did and it only cost me about $4 a month. I hate to sound like a car salesman but I’m really passionate about this and want to share my experience with all you guys. See you on the Internet!

Java Barcode Linear Pack description

April 1st, 2008 by admin

 

Easily add barcodes to web and Java applications. The Barcode Linear Java Package contains JavaBeans, Applets, Class Libraries and Servlets for Barcoding. The servlets and applets require no programming; the servlets may be embedded in HTML with the standard  tag and the applets may be embedded .

Read the rest of this entry »

A JScript / VBScript Regex Ugly Bug

March 23rd, 2008 by admin

Here’s one of the oddest and most significant regex bugs in Internet Explorer. It can appear when using optional elision within lookahead (e.g., via ?, *, {0,n}, or (.|), but not +, interval quantifiers starting from one or higher, or alternation without a zero-length option). An example in JavaScript:

/(?=a?b)ab/.test(”ab”);
// Should return true, but IE 5.5 – 8b1 return false

/(?=a?b)ab/.test(”abc”);
// Correctly returns true (even in IE), although the
// added “c” does not take part in the match

Read the rest of this entry »

Development diary #1

February 15th, 2008 by admin

I thought that I’d be sharing some of my experiences developing my Java based blog now that I have progressed slightly.

First I have to tell you about Hibernate it is just so wonderful tool. In short it is a framework for persisting data to database. In long, it really shaves off some of the less delightful aspects of database coding. Depending on your database structure you don’t have to write single statement or either have to but much lesseraspect than in purely JDBC-way. I had some initial trouble to get it up and running but that was my own hindsight in creating proper database structure. That was not too big surprise taking in to mind that I were really green on Java and sql when I initially conceived this blog project. Experience comes with time so to say..
After producing consistent database structure with foreign keys and indexes and what-not. I got my Hibernate mapping working and it was time to code some DAO layer to project. Now I have proper DB layer and DAO schema implemented, this means that I can now easily query stuff from database from business logic layer by only calling DAO’s with something like:

Session session = null;
Transaction tx = null;
PostsDAO postDAO = null;
try{
postDAO = new PostsDAO();
session = postDAO.getSession();
tx = session.beginTransaction();
Post post = postDAO.findWithID(postID); // get post with postID
//or something like
List posts = postDAO.findWithinMonth(date) // where date on java.util.Date, gets posts that were published on same month
//or like
List posts = postDAO.findWithDate(date) //get posts that were published on exact date

Then I can just for example add the post or list to Frontpage class that contains values like

- Sidebar, contains sidebar menu items
- Posts, contains posts
- Footer, contains dynamic footer objects
- Header, contains dynamic header objects

Then I’ll just set frontpage as request parameter and get the stuff on on the .jsp using jstl.
Nice, clean and structured. Also when inserting rows to database Hibernate comes very handy, for example if you have some tables like:

-Post
-Category2Post <- this being relational table to map many-to-many relationships
-Category

And on code side you have couple hibernate pojos portraying those db tables, namely, posts, category2post and category. Hibernate can automagically insert stuff to middle table if you do something like this:
When inserting new post you have fetched post related stuff from form or struts action form or etc..
So you have Post post = new Post();
post.setTitle(title_of_the_post); or smtn..
.
.
.
Then you usually have some Map categories2post map on your post bean, as in this case our post supports multiple categories.
So then you just create new Category2post
Fetch category by categoryID from db and category2post.setCategory(Category)
category2post.setPost(post);
and post.addCategories(category2post);
after this you can save this bean using postDAO
postDAO.saveOrUpdate(post);

And voila mapping will be inserted between new post and category, this is why Hibernate is my new best friend. On the sidenote everything I have descriped here heavily depends on your own implementation, but this is to merely give you some ideas what to do with Hibernate.

On next diary I will discuss bit about the ROME library, ROME is really usefull library for reading and generating syndication feeds.

Jaxcent,”AJAX in Java” for the Internet Released

January 10th, 2008 by admin

A Java API for accessing and modifying the DOM

Desiderata Software has released Jaxcent 2, a freely available Java API for accessing and modifying Document Object Model (DOM) of browsers.

Version 2 is an unrestricted Java API for doing full-fledged AJAX operations. It can be run on the open Internet instead of being restricted to intranets. The Java of Jaxcent now runs on the server side, and still gives Java programmers full control over the client’s DOM hierarchy. On the client side, all that is required is to add a single JavaScript include statement to existing HTML content, then the resulting page can communicate with Jaxcent on the server.

On the server side, Jaxcent works with standard Java servlet containers and provides classes that correspond to elements of the Document Object Model (DOM), and that can be instantiated to match HTML elements existing (or dynamically created) on the page. These classes provide methods for interacting with the HTML elements, and for receiving events originating from the HTML elements, all in Java. In addition to dynamic interactions with the HTML elements, Jaxcent also provides access to the session and application context, as well as entirely automatic session data management.

You don’t need to rewrite existing applications to take advantage of Jaxcent. Using Jaxcent, as needed, one or more AJAX features can be added piecemeal to one or more pages without any need to modify the structure or specifics of the overall application.

Jaxcent works with AJAX capable browsers, such as Internet Explorer 6, Internet Explorer 7, and Firefox. Jaxcent is written entirely in Java and JavaScript, and therefore is operating system independent. Jaxcent programmers do not need to work in JavaScript. Jaxcent will work with any existing JavaScript code, and it provides features to take advantage of JavaScript if desired, but primarily Jaxcent programming is all-Java and no-JavaScript programming.

Jaxcent Version 2 is available for free downloads at http://www.jaxcent.com/.

Maui real estate

January 4th, 2008 by admin

Hawaii Real Estate here on Maui is our specialty. The staff at ADRHI are
committed to making the buying and selling Maui real estate  a
pleasurable and rewarding experience. Their website allows you to search
all active Maui real estate. The site is easy to use and navigate through
property searches. Featuring the finest Maui homes, condos and land for
sale, that Maui has to offer in areas such as: Wailea, Kihei, Makena,
Kaanapali, Kapalua, Lahaina and more! Check them out to find what’s right
for you.

What is the World Wide Web?

December 31st, 2007 by admin
  • The Web is a network of computers all over the world.
  • All the computers in the Web can communicate with each other.
  • All the computers use a communication standard called HTTP.

How does the  WWW work?

  • Web information is stored in documents called web pages
  • Web pages are files stored on computers called web servers.
  • Computers reading the web pages are called web clients.
  • Web clients view the pages with a program called a web browser.
  • Popular browsers are Internet Explorer and Mozilla Firefox.

How does a Browser Fetch a Web Page?

  • A browser fetches a page from a web server by a request.
  • A request is a standard HTTP request containing a page address.
  • An address may look like this: http://www.someone.com/page.htm.

How does a Browser Display a Web Page?

  • All web pages contain instructions for display
  • The browser displays the page by reading these instructions.
  • The most common display instructions are called HTML tags.
  • HTML tags look like this <p>This is a Paragraph</p>.

What is a Web Server?

  • The collection of all your web pages is called your web site.
  • To let others view your work, you must publish your web site.
  • To publish your work, you must copy your site to a web server.
  • Your own PC can act as a web server if it is connected to a network.
  • Most common is to use an Internet Service Provider (ISP).

What is an Internet Service Provider?

  • ISP stands for Internet Service Provider.
  • An ISP provides Internet services.
  • A common Internet service is web hosting.
  • Web hosting means storing your web site on a public server.
  • Web hosting normally includes email services.
  • Web hosting often includes domain name registration.

Summary

If you want other people to view your web site, you must copy your site to a public server. Even if you can use your own PC as a web server, it is more common to let an Internet Service Provider (ISP) host your site.

Included in a Web hosting solution you can expect to find domain name registration and standard email services.

You can read more about domain name registration, email and other services in the next chapters of this tutorial.

What is XML?

December 23rd, 2007 by admin

  • XML stands for EXtensible Markup Language
  • XML is a markup language much like HTML
  • XML was designed to carry data, not to display data
  • XML tags are not predefined. You must define your own tags
  • XML is designed to be self-descriptive
  • XML is a W3C Recommendation

The Difference Between XML and HTML

XML is not a replacement for HTML.
XML and HTML were designed with different goals:

XML was designed to transport and store data, with focus on what data is.
HTML was designed to display data, with focus on how data looks.

HTML is about displaying information, while XML is about carrying information.

XML Does not DO Anything

Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.

But still, this XML document does not DO anything. It is just pure information wrapped in tags. Someone must write a piece of software to send, receive or display it.

XML is Just Plain Text

XML is nothing special. It is just plain text. Software that can handle plain text can also handle XML.

However, XML-aware applications can handle the XML tags specially. The functional meaning of the tags depends on the nature of the application.

With XML You Invent Your Own Tags

The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are “invented” by the author of the XML document.

That is because the XML language has no predefined tags.

The tags used in HTML (and the structure of HTML) are predefined. HTML documents can only use tags defined in the HTML standard (like <p>, <h1>, etc.).

XML allows the author to define his own tags and his own document structure.

XML is Not a Replacement for HTML

XML is a complement to HTML.

It is important to understand that XML is not a replacement for HTML. In most web applications, XML is used to transport data, while HTML is used to format and display the data.

My best description of XML is this:

XML is a software and hardware independent tool for carrying information.

XML is a W3C Recommendation

The Extensible Markup Language (XML) became a W3C Recommendation 10. February 1998.

XML is Everywhere

We have been participating in XML development since its creation. It has been amazing to see how quickly the XML standard has developed and how quickly a large number of software vendors have adopted the standard.

XML is now as important for the Web as HTML was to the foundation of the Web.

XML is everywhere. It is the most common tool for data transmissions between all sorts of applications, and becomes more and more popular in the area of storing and describing information.

Free Java Games

December 13th, 2007 by admin

Mobile Fighter v.1.1.0

Version: 1.1.0
Type: Freeware
Added: 2005 Sep 7
Updated: 2007 Aug 13

Download to PC:
JAD file (MobileFighter.jad)
JAR file (MobileFighter.jar)

DangerousSpeed v.1.4.0
Platforms: Java (J2ME)
GetJar Rank: 18 [view graph]
Version: 1.4.0
Type: Adware
Added: 2008 Feb 7
Updated: 2008 Feb 7
User rating: 9.00

    Download to PC:
JAD file (DangerousSpeed_SE_K700_out.jad)
JAR file (DangerousSpeed_SE_K700_out.jar)

Foreclosures

December 4th, 2007 by admin

National Relocation offers access to one of the largest databases of
foreclosure listings in the nation. Over 1 million properties that are
updated daily. These include bank foreclosures, REO listings (real estate
owned) and pre-foreclosures. It is free to search our site to locate a
property and view details like street name, bedrooms, bathrooms, price,
list date, auction date and pictures as well. You can also sign up for a
free trial to get email alerts as new became available.