Jack is Here, asp.net findings

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries for December, 2009

Flash opens new windows and opportunities for game designers

Flash is an interactive platform, a powerful design and animation tool with a dynamic scripting engine, bitmap has representation, as well as video and audio playback. There are three main aspects: the player, the file format and the authoring tool / IDE. Flash games can be developed for websites, interactive TV and handheld devices. There is no need to adopt multiple programming languages to build games.

It is a universal tool that supports the development of multimedia driven complex games allowed. Games means fast, furious, efficient, with rich graphics.

Flash enables developers to build the most popular games for online gamers. It just needs to support:

? Rich engaging graphics.? Smooth download of files from the net.? A playback device that can interpret downloads.

There are three main areas: design, development, and hosting.

The first step is graphics creation. Fireworks must be used, as well as freehand this. Compatible with the tools and fireworks to allow Java scripts to increase the image.

In the game development process, the flash import graphics created in Freehand and Fireworks. Graphic, and then placed in the Director's Flash parental tool.

The next part of hosting, Web servers use. Dreamweaver MX is to host the Games is a tool to create a Web page.

And, finally Action Script is used to provide enhanced functionality.

Advantages:

? Integrates almost all features needed for developing a game. It is a great interactive tool.? Can be used anywhere does not need additional software or plug ins.? It is Mac friendly.? Permits conversion from a full game to web version and vice versa.? Low cost and free to distribute. Licenses for decoders MP3 and Sorensen Spark are included.? Artists that can use flash easily are in plenty.? Flash delivers broadcast quality images over the Internet. ? Permits embedding of game in power point for use in presentations. ? Plenty of information as well as guidelines can be accessed as well as understood by all -tutorials, articles, as well as blogs.? The size of the game file remains small as the vector graphics and sound files are compressed.? Learning Flash language is easy.? Permits copy-paste to test components

One must be wary of traps and some disadvantages of two. I know a similar system, to maximize its use. Lot-line tutorials can be used as a guide. Meanwhile, creating a Flash game is not only ideal as an interface designer, is ideal for developers, can be fun.

Flash is easy to use and a game can in a few hours in a packaged form that can be developed on a PC, Mac or Linux. One can make use of a browser, or you start the game as a stand-alone.

Enterprise Integration Using Open Source Middleware (Jonas)

1. Introduction
Open Source Software (OSS) is an in-ternational phenomenon in terms of user adoption and development processes. Enterprise Information Integration (EII) significant gains credibility in the market as the most efficient approach to the combination of back-office data with line-of-business content. Enterprise integration with open source middleware, offers an automated tool for Data Integration, interoperability of data in a distributed environment. This integration tool using open source middleware to reduce costs through shorter, Sca-lability to realize.
2. Open Source Application Servers & Mid-dleware
There is a wide variety of open source applications and middleware on the market, many of which support the Java Enterprise Edition framework. These include Apache Geronimo, Apache Struts, Apache Tomcat, Apache Web server, Easy Beans, JBoss, JFox, JOnAS, IBM WebSphere Community Edition (formerly Gluecode), Mono Project (supports .NET), OpenEJB, Resin, and Sun’s Glassfish.

2.1 JOnAS – a Java Application Server
JOnAS (Java Open Application Server) is an open source Java EE applica-tion server which has been released free of cost under the terms of the open source GNU General Public License. JOnAS is the most widely used open source J2EE 1.4 ap-plication server. Applications deployed on Java EE application servers are assemblies of components dealing with user presentation or business logic. Those two layers (presentation and logic) are composed of JSPs and Servlets for the first one and of different kinds of components (i.e., EJB for Enterprise Java Beans) for the second one. An EJB can be a Session Bean implementing application logic which converts and parse the XML data , an Entity Bean to simplify access to persistent data contained in databases, A Message Driven Bean that reifies a message queue polling (like JMS queues or topics) to be performed during the server runtime. These services are required in most enterprise applications. To access services, application component implementations are placed into containers. Those containers are used as the glue between components and technical services.

Fig 2.1 JOnAS Architecture

3. Enterprise Integration using JOnAS
The key feature of enterprise integration is data integration that automates the inter organizational business transactions without requiring replacement or major changes to companies existing source systems, thus avoiding an expensive and time-consuming activity. This paper aims at developing an automated tool for integrating the data from different sources thereby providing integration among the data and interoperability of data in a distributed envi-ronment. The Enterprise integration provides the following advantages
? Integration of data
? Unified view of relevant information
? Cost Effective because of open source
? Distributed access because of middle-ware
? Reduced time consuming since integrated and unified view
? Transparency
? Scalability

Fig 3.1 JOnAS with Client and DBServer
The above figure 3.1 shows how a client can communicate with a database server through JOnAS via EJB (Enterprise Java Bean).
4. Framework
The paper Enterprise integration using open source middleware can have client side and server side. In client side, it can have number clients. Client can access with the information stored in Excel or Access. A client can insert or delete or update any information stored in the data source. Clients can be provided with Excel or Access database where they can do updations. After updating the information, client has to save the updations. Then the defined macro in that Excel or Access data sheet can call the batch file automatically which in turn calls the server program. The client program gets the input file (Excel or Access) and passes the file name as an argument to the server program. Client machine can have either Excel or Access or both.
The server program to retrieve the file path from the client, to activate the code, XML data or access to XML data to Excel for the input file depends on the conversion. Server-side program is then stored in an XML file to the server after you convert the XML data. The server then these XML files to extract and analyze data in a table to store information, SQL Server is stored in.

Fig. 4.1 Frame work of Enterprise integration using JOnAS

The Fig 4.1 clearly depicts the workflow of information integration and various components involved in this project. The steps involved in Enterprise information integration is as follows:
1. The latest access data is converted to xml whenever a new record is inserted /updated on a real time basis.
2. The latest excel data is converted to xml whenever a new record is inserted /updated on a real time basis.
3. Implement these two modules in Enterprise java bean with JOnAS as application server.
4. Extract the information from all XML files by parsing and store the data into tables residing in SQL Server.
5. Generate Reports by getting information from the tables using frames and JTable.

5. Setting up the Environment
The first and foremost step in implementing the system is setting up the environment. The overall tasks involved in setting up the system are as follows:
? Installing JOnAS
The steps involved in installing JOnAS require J2SE SDK 1.4, ANT 1.6 and JOnAS. Install everything and start the JOnAS.
? Connecting JOnAS with NetBeans
The next step after installing the JOnAS application server is to connect the installed JOnAS with the working environment. NetBeans is the working environment. Requirements for connecting JOnAS with NetBeans are NetBeans 5.5, JOnAS/Tomcat 4.7.x or 4.8.x and JOnbAS
? Connect SQL Server with JOnAS
To allow access to one or more relational databases, JOnAS will create and use DataSource objects. Such a DataSource object must be configured for each file that is used for the persistence of a bean. By default, JOnAS provides HSQL default data server. SQL Server can to Jonas by using a plug-in called jTDS connected. Before you install the SQL Server, we are three jar files in JO NAS_4_8_4libcommonsjonas upload directory, which gives access to SQL Server for JOnAS. Login JonasAdmin console. Select the new data source as a database. Enter the required information such as driver's name, URL, etc. are Done.

6. Implementation
This paper uses session bean for im-plementing the first two modules and entity bean for implementing the third module. The session bean converts Excel or Access data file to XML data file and fetches the data from the XML file by parsing it and after parsing, the session bean automatically calls entity bean which stores the extracted data in to SQL Server.
? ExcelToXML (File Excelfile, String file-name) – converts any Excel file to XML data file by getting Excel file as inputs. The procedure involved in converting Excel to XML data file is as follows:
? AccessToXML (String table, String connec-tion) – converts any Access DB to XML data file by getting table name and connection for JDBC connection as inputs.
The procedure for converting Acsess_to_XML and Excel_To_XML is shown below.

Fig 6.1 Procedure for XML conversion
The next step after converting the Microsoft Access or Excel file data to XML data is parsing the obtained XML files. By parsing the XML files, we can extract the data from the XML file and store it in an array which can then be used for storing it to an SQL Server. To manipulate a XML document, we need an XML parser. The parser loads the document into memory and once the document is loaded, its data can be manipulated using the DOM
? xml_parse_For_Excel (String xmlFile) – Parse the XML file obtained from Excel that suits for storing the latest XML data to SQL Server.
? xml_parse_For_Access (String xmlFile) -Parse the XML file obtained from Access that
The procedure for parsing XML files is same for both XML files obtained from Access or Excel. The steps involved in parsing the XML files are as follows.

Fig 6.1 Procedure for XML Parsing
Building and Deploying the Application
Now, enterprise application ready to deploy to the application server. There is no need for additional deployment descriptor configuration. IDE will have to configure the deployment descriptors, and the preparation of a new connection pool and data for enterprise applications source code. Right-click on the left of the window, and construction project applications. Output window displays the error, if any. Correct the error, the project deployment. Right-click, formation_Integration project, and then select Run Project. IDE will execute all of the following:
? Builds the enterprise application project and all of its subprojects (the Web module project and EJB module project).
? Starts the server if it is not already running.
? Undeploys the enterprise application if it is already deployed to the application server.
? Deploys the enterprise application to the application server.

fig 5.1 Information Integration deployed in JOnAS

Conclusion
Integration problem has been with information technology, information systems because the invention of the world. Today, the integration need to directly support the organization's goals and needs. Enterprise Integration using the open-source information integration middleware provides an automated tool, but also interoperability of data in a distributed environment. Therefore, this combination of enterprises use open source

Middleware provides an automated tool for information integration and thereby effects reduced cost and time, interoperability, scalability, persistency through open source middleware named JOnAS.
Future work can focus on developing an automated tool for integrating any number of input files from any sources and make it suitable for distributed environment.

References:
[1] Mabanza, N.; Chadwick, J.; Rao, G.S.V.R.K., “Performance evaluation of Open Source Native XML databases – A Case Study” Advanced Communication Technology, 2006. ICACT 2006. The 8th International Conference Volume 3, Issue , 20-22 Feb. 2006 Page(s): 1861 – 1865
[2] Ian Gorton2, Justin Almquist, Kevin Dorow1, Peng Gong3, Dave Thurman1, “An Architecture for Dynamic Data Source Integration”, Proceedings of the 38th Ha-waii International Conference on System Sciences, IEEE Transaction, June 2005.

[3] Alain Boulze, Francois Letellier, Pascal Moussier,” The ObjectWeb initiative, An Ex-ample of an open development process to promote a set of open source middleware technologies and bring them to main stream” , ObjectWeb Consortium, 2006.
[4] ObjectWeb Consortium , “Red Hat Application Server: JOnAS Tutorial “, 1999-2004

[5] Giovanni Guardalben, Shaku Atre, “Integrating XML and Relational Database Technol-ogies: A Position Paper” .
[6] Richard Monson-Hoeffel, “The Ultimate Guide J2EE web Services “, Pearson Educa-tion, 2002
[7] Heather Williamson,” XML: The Complete Reference”, Osborne/McGraw-Hill, 2001
James Edward Keogh, James Keogh, “J2EE: The Complete Reference”, McGraw-Hill/Osborne, 2002
[8] JOnAS: Java (TM) Open Application Server, http://jonas.objectweb.org/
[9] JOnAS Platform Documentation, http://jonas.objectweb.org/doc/jonas-doc-en-jonas4.2.3.pdf
[10] http://www.w3schools.com/xml/xml_syntax.asp
[12] http://JOnAS.objectweb.org/current/doc/howto/install_JOnAS.html
[13] http://www.theserverside.com/news/thread.tss?thread_id=42251
[14] http://objectweb.org/JOnAS/2006-12/msg00027.html
[15] http://java.sun.com/developer/onlineTraining/Beans/EJBTutorial/

Embed Video Playlists for Higher Page Rankings

?

Have you seen the Internet video are automatically loaded, and you do not need to lift a finger the next sequence in the video? Well, you are an experienced video playback. Video Player lets you show one another a video sequence, you determine that your visitors and spectators they do not have to do anything.

An Ideal Scenario:

1. A new visitor arrives at your web page.

2. They notice you have an embedded video and decide to watch it.

3. They end up spending more time at your web page because of the video.

4. They notice that the first video is followed by a second video automatically.

5. Your visitor stays for the next video in the playlist, and so on.

6. Search engines record the amount of time your visitor spends on your web pages.

7. They also factor the amount of time into their page ranking of your web page.

8. Consequently, web pages with videos often rise faster and higher in rank.

9. This results in more free traffic to your web pages with videos.

10. All things remaining equal, the entire cycle repeats itself.

?

Video Playlists and “Scalability”:
There is another very practical reason for embedding video playlist players, and it actually has more to do with “scalability” than anything else.

If, for example, you have ever uploaded a large video file to an Internet video site, you already know that it can take a very long time to upload. But it can also take a long time to download that file when your visitors are watching it. Even worse, long videos can bog down servers very quickly. That’s why most video sites will not accept videos that are longer than ten minutes.

?

Video Playlists are Great for Training Videos:
Suppose you have an hour-long series of training videos that you want to upload. You can upload the segments and link them together as a video added. Then your visitors will be able to see whole hour learning.

This is necessary in order for the playlist, provide the following video, the result is basically as if 1 hour 30 minute video of the length of the course, which saw it asautomatically.

Moreover, it should be noted that

Because, as you can see, video playlists

?

Added Bonus:
If you are in your play list "Embed", your visitors can even be embedded into your web page HTML code. Of course, this ultimately means that even ifmore free traffic for you. The Internet video hosting sites where your videos are located also like it when you make your videos and playlists embeddable, because this ultimately means more traffic for them as well.

?

Video Playlist Tutorial:
Click HERE for a step-by-step demonstration of how you can create your own video playlist and embed it into the HTML code of your own web pages. (For your convenience, the link will open a new page. Therefore, this page will remain open. Simply close the new page when you are done watching the tutorial, and you will still be right here.)

?

In Summary:
Web pages with embedded videos seem to skyrocket in the search engine listings. By embedding video playlists into your web pages, you can increase the duration of time that your visitors stay at your web pages. A single video may keep your visitor’s interest for ten minutes. But a playlist can remove the ten-minute time constraint, because you can usually make it as long as you need it to be. As your viewers watch one video after another, the search engines also take note. Consequently, longer visits can result in higher page rankings and even more free search engine traffic for you!

?

Ejb 3 Developer Guide by Packt Publishing

This book is a practical guide for developers and architects to the Enterprise Java Beans Standard.

  • A rapid introduction to the features of EJB 3
  • EJB 3 features explored concisely with accompanying code examples
  • Easily enhance Java applications with new, improved Enterprise Java Beans

In the EJB 3 (Enterprise Java Beans 3 version) description of the core components of an enterprise-level college entrance examination (Java Platform, Enterprise Edition) to achieve improved version, which is set to simplify the enterprise Java application development.

This book, exploring its many examples of support in a way that the core elements of EJB 3 briefly describes the technology. EJB 3 and you can get a thorough understanding of EJB 3 technology is the most important features quickly learn.

Approach

This book is a fast-paced teaching, exploration and accompanied by many examples of the main features of EJB 3. This book is not a complete reference guide, but a concise exploration of EJB 3's core elements.

This book is mainly aimed at professional developers who already have a working knowledge of Java. Enterprise architects and designers with a background in Java would also find this book of use. Previous experience of working with Java is essential and knowledge of relational databases is desirable.

Since this book is an introduction to EJB 3, it is to those who will be in the new EJB 3rd Since the new version of EJB is so radically different than the previous version 2.x (EJB), the book is appropriate and should be of interest to those who will have had experience in dealing with EJB 2.x, the text makes clear where the differences between the versions of EJB are located, although not studied in detail.

You can read more about this book: here http://www.packtpub.com/developer-guide-for-ejb3/book

eBusiness Launch: Tips To Get You Started

So you’ve decided to launch an Internet based business. Congratulations! You’ve taken your first step towards establishing yourself in global markets and taking your success into your own hands. Now what do you do? For starters, you need a domain name, a web page, and a way to take your orders. It can be quite a daunting experience to take these first steps into eCommerce. Here are some tips to help you get started on your way.

Your domain name will identify your particular business on the internet. When registering and deciding on a domain name for your business there are a number of things you need to consider.

ourproductsarethebestontheweb.com – Avoid using excessively long and tedious domain names. Choose something simple and easy to remember. Also try to use popular keywords that people would use to search for products or services such as yours. This can help you get ranked higher in search engines as well as help consumers remember your site.

.com vs .biz – Always use .com instead of .biz or .info. Your company will be taken more seriously. If necessary you can use .net, but more people are familiar with .com and will remember it more easily.

Shop Around – There are a number of sites that offer domain registration. Prices vary, but expect to pay a yearly registration fee. Some popular domain registration web sites include GoDaddy.com, Web.com, and Register.com. Many domain registrars also offer web design, web hosting and email.

A web site is like having a store front in every corner of the world. What do you want people to see when they look in your window? Consumers today are more intelligent and wary than when the web was in its infancy. You need your web page to project a professional image, draw your customers in, and keep them interested long enough to see the value of doing business with you instead of your competitors. Easier said than done right? Successful web design is crucial to converting your web visitors into web sales. Here are a few avenues you can take to achieve a successful web site.

Hire Someone Who Knows – There are countless companies out there that you can pay to develop a professional web site for your business. Ask around. With so many to choose from, referrals are usually the best way to find a reliable and affordable company, or even person, with the expertise to create a professional web site for your needs.

The labors of other fruits – website template is a cheaper alternative to a custom Web site. Template average price from 13 dollars to 300 U.S. dollars U.S. dollars depending on how old you think your site is and how big. Some are only one index, or the front page, and some people, including index and the support of content pages. Some templates will ask you to have some basic knowledge of HTML editors, and with a graphics program such as Adobe Photoshop to adjust the site to meet your operations. Other template allows you only need to enter your pre-designated text box, you can go. A good start, often TemplateMonster.com.

Headlong and Feet First – For the ambitious, or on an extremely tight budgets, there is a third solution. Do it yourself. There are many web page editing programs available and you can even on your computer, and certainly do not know. Some of the most popular are Macromedia Dreamweaver, Microsoft Frontpage and Adobe GoLive. All come with instructions, and if you need help, is not found there, it's not far away. Enter your question into your favorite search engine and you're sure to find the information you need. Surf the Internet and look at other web sites. See what you about how and what you do not. Is it look professional? Why? Is it inspires confidence and reliability? How? Above all, be patient with him. This is a great project that you are a company and many of the learning happens through trial and error.

No store, online or offline, can be successful without a way to make sales and take orders. With an online store you have a couple of options. Some businesses will want to encourage their customers to place their orders online, others will want them to call to place their orders, and some will want to offer both options.

Virtual shopping cart – if you are selling a different product lines, a number of shopping cart will be necessary. This will allow your customers to increase their things because they are shopping cart for your online store. Unless you are a programmer or a professional design your site, you need to find a shopping cart, you can add to your website. You can choose to buy your software or use a free, for example, osCommerce.com advantage. With or paid software and free edge. Your actual needs will determine the most suitable for your course.

Phone Orders – Because of the high rate of fraud on the Internet, many consumers feel more comfortable placing their orders over the phone with a live person. They like knowing there is a person behind the page. You will want a professional sounding phone system. Something more than your cell phone with voicemail. One of the best solutions for web based businesses is a virtual phone system, or virtual PBX. They allow you to forward your calls to any location – home phone, cell phone, VOIP phone – give you a professional sounding main greeting, multiple extensions and voicemail. Many will also allow you to have automated order taking over the phone, send and receive faxes, and receive messages to your email. You want to make sure that the professional business image you are presenting with your web page is continued when your customers calls you. Freedom800.com is a good place to start looking at what virtual PBX systems have to offer.

Starting an online business is an exciting time. In the case of turbulent times, you may be familiar with what is needed to establish themselves on the web. Your domain name will get the start of the first things that are needed to make some other set to take the title of a professional website and order process. The best of luck in your new business.