MsgConnecting Desktops and Mobile Devices by Eugene Mayevsk

Selasa, 19 Oktober 2010
First of all, what do we call a framework? We assume that this is a common code that provides generic functionality and can be selectively overridden or extended by user code to provide specific functionality. Framework is a special case of software library, and its key features are reusability and a well-defined API.

Second, what we should take into account talking about a mobile device? Most of them are smart phones, PDAs (Personal Digital Assistant), tablet computers and netbooks.

Talking about PDA, we have to mention a group of EDA, Enterprise Digital Assistants, which are very much like PDA, but in some sense are more specific, designed and programmed for certain enterprise tasks, often offering integrated data capture devices like barcode and smart card readers.

The most PDAs are working on specialized operating systems, some of them of Windows family (e.g. WindowsCE, Windows Mobile, Windows PocketPC, Windows XP Tablet Edition), others on Linux, Palm etc. For smart phones very popular are Android and BlackBerry operating systems.

Taking all this in mind, we will call a mobile device some relatively small computer that works on one of platforms mentioned above. Though sometimes you may hear or read speculations about notebook vs. desktop computer, in this article we don't assume a conventional notebook to be a mobile device; instead we will refer it like desktop.

So What?

Lets imagine that you have to develop a software of enterprise level, for managing something like plant, or business office, or: or hotel! Why hotel? Why not. Everybody knows something about hotel, and nobody knows everything. Its technology is complex enough to utilize most of mobile devices mentioned in previous section. For example, you will need to create a database, and most of mobile devices (EDAs of hotel personal) will communicate to it. Hotel needs a strong security system to identify its staff and to check their access rights for this or that. This system is logically to be implemented on data capture devices integrated in EDAs, like fingerprints scanners.

It is very likely that our hotel is not appears to be a brilliant one in sense of tourist business, but please don't bother about it. We need this hotel not to enjoy a holiday but to demonstrate the abilities of MsgConnect, which are much better.

What Do You Have to Care About?

First, you have to design a database, and of course, it will not reside on mobile device, consider placing it somewhere in a reliable place. Maybe use cloud storage? This database will hold everything about your hotel, from actual visitors and reservations to vacant rooms to drinks and foods available and required.

We will not bother about business logic of the system, but anyway you have to think about a lot of desktops or notebooks for high-level managers in offices. From time to time they will make requests to the database, something like: "How many vacant rooms do we have for now? Is it enough scotch on stock? What is the visitor NN check out date?"

And finally, don't forget about mobile devices! Each hostess should have an EDA, and each barman as well, with barcode or smart card readers available. Some of security guys probably will have EDA with automatic identification system embedded.

Not to mention a climate control, which should be of course automatic and driven by mobile devices with embedded systems, but occasionally some responsible person must have a possibility to interfere in its functionality, optionally from desktop or from EDA.

Multiple Platforms

PDAs and EDAs are available on a variety of different platforms like clones of Windows (e.g. WindowsCE, Windows Mobile, Windows PocketPC, Windows XP Tablet Edition), Linux, Palm and others. A great part of smart phones are working on the Android and BlackBerry operating systems.

It is very likely that you will have to deal with several different platforms. You hardly can manage all these things on single or on few related platforms; obviously this will make the task of communicating between computers not trivial.

PDA Operating System vendors usually provide a way for synchronizing data between desktop operating systems and their product, however there are numerous serious limitations. Fortunately MsgConnect gives you the way to overcome these limitations.

MsgConnect is based on the concept of exchanging messages - blocks of data that have a fixed part with predefined fields and optionally have a data part. Using messages you can send commands to other processes, receive replies, transfer the data across multiple processes and do plenty of other useful things.

Having taken the concept from Windows Messaging subsystem, MsgConnect however is not limited to Windows only. MsgConnect was successfully ported to different platforms.

There are available implementations for Windows, Android, BlackBerry, Linux, FreeBSD, QNX, Windows CE/ PocketPC, JavaT (SE/EE, ME) and .NET platforms. More platforms are to come.

How Can You Manage?

It's not easy. It's very difficult to connect dozens of computers working on different platforms and make them communicate to each other unless you are using MsgConnect.

MsgConnect (read Message-Connect) simplifies your application development significantly by taking care of all the low-level tasks for you. It was designed to be small, fast and effective and at the same time to provide complete service. With MsgConnect you won't have to write and painfully test multithreaded server code, you won't need to split the data stream into messages and dispatch these messages. All your efforts will be directed at business logic whilst MsgConnect takes care about data and messages transfer.

MsgConnect was born as emulation of Windows Messaging subsystem for sending messages across the network. The idea was successful and Eldos' engineers extended it. Now MsgConnect is widely used by developers to implement data transfer between applications running on the same computer or on various mobile devices like Android, BlackBerry (through Java Mobile), iPhone (ะก++ version for MacOS X and iPhone/iPad).

While utilizing the same concept of message queue that was used in Windows, MsgConnect provides much more reliability and functionality like identification, on-the-fly compression, encryption and integrity checking of the message being sent and received. With MsgConnect you don't care about transferring data, instead you just send messages (which can contain all necessary data).

With MsgConnect you use methods similar to Windows' messaging subsystem - SendMessage to send a message with a confirmation of a second party, PostMessage to transmit data without confirmation, SendMessageCallBack to send a message and be notified through user-defined callback routine.

Client-server technology

Naturally, some of the tasks for your hotel management can be completed using traditional client-server technology, for example most of requests to database concerning stock value of something, booking of rooms etc.

Client-server architecture gained significant place in current networking due to ease of logical organization and maintenance. The concept of conversation between a client and a server is not hard to design, create and document.

However from the technical point of view creation of effective server software can be a long and painful process. The things can become much worse if the server needs to send the unrequested data to the client, i.e. act as a client itself. On this stage one has to redesign the complete protocol stack to add such a possibility.

MsgConnect dramatically simplifies the process of data exchange by offering a flexible and efficient messaging paradigm by providing an independent bi-directional conversation via single connection (you just split one connection into two). Moreover, MsgConnect provides a simple way to create event-driven communications between clients and servers, and such a scheme is usually more easy to design and is much more scalable.

Peer-to-peer data transfer

Each node in distributed system based on MsgConnect can act as both client and server simultaneously. MsgConnect can use single connection to transfer messages independently in both directions. This kind of functionality might be very powerful when your application has to alarm some certain PDA or return back some signals, for example low stock of food or drinks.

Standard Protocols

With MsgConnect you use all the power of standard protocols including TCP and UDP, if your target platform supports them. Of course you may use for that purpose your OS' native API, for example WinAPI in case of Windows. But choosing this way you will have to write different code for each platform, while choosing MsgConnect and using its API, you obtain really reusable code.

With MsgConnect you will be able to utilize the power of heterogeneous systems and networks ranging from Unix servers to Windows-based PDAs, EDAs and smart phones

Restore Your Operating System by Roberto Sedycias

Part of the Microsoft features, System Restore is a way to save your computer if something awful happens to it. It allows you to roll back your system files, registry keys, installed programs and other components on your computer back to a time and date when things were not malfunctioning and going haywire. In many ways it is like time travel for your computer to return to a moment when it was not spinning out of control and shutting down.

Suppose you have a virus or some spy ware that is infecting your computer and you know that it got on your system just a week or two ago. Or suppose that your computer is miserably acting up for reasons you do not even understand. With System Restore, you can manually select a point of restoration by going to your control panel and choosing to System Restore. You choose a date to roll back to and then the computer will erase all files and components and installations and setting changes taking your computer back to that chosen date. Your desktop might change if you changed it recently, all of your chosen settings will not be what they were. You can undo this restore if you wish and get everything back again.

System restore backs up your computer's registry, the files in your Windows File Protection folder, and your local user profile. Also your COM+ and WMI databases are backed up and so is your IIS Metabase and all the specific file types that are monitored by Windows.

Your computer will be creating natural restore points so that a list will be drawn up for you as you use your computer normally. Whenever something goes wrong, you can choose from this list of restore points because your computer has compiled possible times when you installed or did something that could be causing the problems. When you install anything at all using Windows Installer, or any other installers, System Restore will make it a restore point. If Windows Update installs new updates, another restore point is born. If you install any driver not signed by Windows Hardware Quality Labs, one will be made. Every 24 hours of computer use or every 24 calendar hours, the system will make a system checkpoint and this is only done if the system is idle.

Another restore point will be made if you have kept your computer off for more than 24 hours and then when you turn it on, one will appear. Finally, you can request for your computer to make a restore point anytime that you believe one ought to be necessary. Be aware, though, that each time a new restore point is created, an old one is booted out.

When you rollback your files, you might worry what all you could lose. With Windows Vista, you will not lose any personal files in My Documents. That is certain, so if you want to protect something then putting it in that folder will guarantee that it stays safe no matter when you restore your computer back to. Also, you can restore your system as long as you boot up normally or through safe mode. If your computer doesn't boot up at all, you can't do the restore at all and will have to try to use something else to restore your system.

How to Quicken Windows XP - Terminate Slow XP Boot by Nick Hagerman

Windows XP slow boot up can be caused by various circumstances. Your PC might have worked great when you bought it but through the years you detect it's been slacking substantially. There are measures you can use to make it like new again. Windows XP is an outstanding OS, and most prefer it over Windows Vista still, Windows XP can eventually become slow after a period of time. You may find that apps are taking much longer to run or you might be experiencing blue screens or faults.

You should check out my site where we're fighting slow start up everyday.

The first thing you will want to do is run a clean up on your computer to clear any software you no longer utilize any longer. Delete all your temporary files and clean the recycle bin. If the screen background is blanketed with program icons you will need to erase the ones that you don't use daily. A lot of folks do not recognize this, but they can slow your PC down. Like with the program icons in the quick start menu or taskbar, remove the programs you do not need.

It's exceedingly fundamental to manage your bootup applications to head off sitting and waiting for your desktop and for XP to at long last startup or log off. You can care for your boot up arrangement by abiding by the commands below:

1. Click Start.
2. Click Run
3. In the command screen type msconfig
4. In the system configuration tool, click "startup" tab
5. Unselect all apps that you're not utilizing.
6. Left Click OK

You will immediately discover some applications that you want to banish. Nevertheless it can be tricky to recognize what applications are needed. Most with Windows in the name is naturally a Windows app. Eliminate these from your startup config with carefulness. Watch your startup. Spyware applications can easily sneak themselves into your config and may cause slow boot up troubles.

If all else fails, there is one different matter you must check, which is very frequently overlooked but is astonishingly very often the actual root reason of your XP slow boot issue: Is your XP registry faulty? Is it in desperate demand of optimisation and fixing? The Windows registry is the fundamental database utilized by Windows XP to stock data about hardware and computer software. Over time, it might get faulty or unoptimized, which will seriously slow down your universal OS operation. Real a great deal of the time, merely running a Windows registry scan and restore application may bring about the prompt resolutions that you are searching for, and solve your Windows XP slow start up problems once and for all.

Visit slow bootup to obtain more data to help you to overpower those slow start up complications.

How to fix BlueScreen (STOP) errors by www.sales-battery.com

When your computer experiences an unrecoverable hardware or software problem, Windows Vista shuts down or restarts your computer. When this occurs, Vista will sometimes display a blue screen that contains a message that states that "Windows has been shut down to prevent damage to your computer . "At other times, Vista displays a message after you log in that indicates that Windows has recovered from a serious error or an unexpected shutdown. Then Vista prompts you to check for a solution to the problem. These errors are known as BlueScreen or STOP errors, and they can be caused by several things.

BlueScreen errors may be caused by either a CASIO NP-40 Battery software problem or a hardware problem. This article contains steps that you can take to try to resolve only software problems. If you cannot resolve the problem by following these steps, you might be experiencing a hardware problem. In that case, you need to contact your computer manufacturer or a computer hardware technician for help with hardware issues.

To start troubleshooting: To start troubleshooting:

1. If you can start Windows, go to the Check for solutions to problems section. If you can Start Windows, Go to the Check for Solutions to problems section. 2. If you cannot start Windows, go to the Use Startup Repair section. If you cannot Start Windows, Go to the Use Startup Repair section.

Check for Solutions to problems

When a program stops working, Windows can check for a solution for you. Even if Windows didn't find a solution when the problem first occurred, Windows may have found a solution since. Therefore, you should try this method first.

To check whether Windows has found solutions, follow these steps: To check whether Windows has found solutions, follow these steps: Click Start , and then click Control Panel . Or point to Settings , and then click Control Panel . Click Start, and then click Control Panel. Or point to Settings, and then click Control Panel. In Control Panel , double-click Problem Reports and Solutions . Or click System and Maintenance , and then click Problem Reports and Solutions . In Control Panel, double-click Problem Reports and Solutions. Or click System and Maintenance, and then click Problem Reports and Solutions. In Sony vgp-bps13a/b Battery Problems Reports and Solutions , in the Tasks pane (on the upper left side of the window), click Check for new solution s. Windows will check for solutions to problems. This process may take a few minutes or more. In Problems Reports and Solutions, in the Tasks pane (on the upper left side of the window), click Check for new solution s. Windows will check for solutions to problems. This process may take a few minutes or more. If a message is displayed indicating No new solutions found , click Close . Or, if any links appear under Solutions to install or Information about other problems , click each of the links and follow the steps provided to solve those problems. If a message is displayed indicating No new solutions found, click Close. Or, if any links appear under Solutions to install or Information about other problems, click each of the links and follow the steps provided to solve those problems.

Note: Some problems and solutions can only be viewed and fixed by an administrator. Therefore, you must log on to the computer by using an administrator account to view and fix these problems. Some problems and solutions can only be viewed and fixed by an administrator. Therefore, you must log on to the computer by using an administrator account to view and fix these problems.

Next steps If these steps resolve the problem, you are finished. If these steps did not resolve the problem, let's make sure that your computer has all the latest Windows updates. If these steps resolve the problem, you are finished. If these steps did not resolve the problem, let's make sure that your computer has all the latest Windows updates.

Check for and install all required Windows updates

Windows updates help protect your computer's security and reliability. If you want to, you can set Windows to automatically install recommended updates at a time that you specify, or you can manually check for updates.

To run Windows Update manually and check for updates and new drivers when you are using the Vista Start menu, follow these steps: To run Windows Update manually and check for updates and new drivers when you are using the Vista Start menu, follow these steps: 1. Click Start , and then click Control Panel . Or point to Settings , and then click Control Panel. 2. In Control Panel , double-click Windows Update . Or click System and Maintenance , and then click Windows Update . In Control Panel, double-click Windows Update. Or click System and Maintenance, and then click Windows Update. 3. If the window that opens says Windows is up to date, go to the Check for and install updated drivers from your computer manufacturer section. Or, if Windows finds updates, click Install . If the window that opens says Windows is up to date, Go to the Check for and install updated from your Computer Manufacturer Drivers section. Or, if Windows finds Updates, Click Install.

Next steps If these steps resolve the canon nb-2l battery problem, you are finished. If these steps did not resolve the problem, let's see whether you may have to install updated drivers for your hardware and other software. If these steps resolve the problem, you are finished. If these steps did not resolve the problem, let's see whether you may have to install updated drivers for your hardware and other software.

Check for and install updated drivers from your computer manufacturer

A driver is software that allows your computer to communicate with hardware or devices. Without drivers, the hardware that you connect to your computer-for example, a video card or a webcam-will not work correctly. Computer manufacturers revise their drivers periodically to allow for changes in software and hardware. If your computer is not using the latest version of a driver, it may have a problem communicating with some of the hardware or software that is installed. To update drivers for your computer hardware, visit your computer manufacturer's Web site and follow their steps to locate, download, and install updated drivers.

Next steps If this resolves the problem, you are finished. If this does not resolve the problem, let's see whether we can fix the problem by using the Startup Repair tool. If this Resolves the problem, you are finished. If this does not resolve the problem, let's See whether we can FIX the problem by using the Startup Repair tool.

Startup Repair

Startup Repair is a Windows Vista recovery tool that can fix certain problems, such as missing or damaged system files that might prevent Windows from starting correctly. When you run Startup Repair, it scans your computer for the problem and then tries to fix it so that your computer can start correctly. If you cannot start Windows, Startup Repair may run automatically. If it does not run automatically, try to run it manually.

Next steps If this resolves the ibm thinkpad r60 battery problem, you are finished. If this does not resolve the problem, let's see whether we can fix the problem by using the System Restore feature. If this Resolves the problem, you are finished. If this does not resolve the problem, let's See whether we can FIX the problem by using the System Restore Feature.

System Restore is a Windows feature that helps you restore your computer's system files to a point in time before a problem might have started. It's a way to undo system changes to your computer without affecting your personal files such as e-mail, documents, or photos. To restore your computer to a previous restore point, follow these steps:

1. First, save any open files and close all programs. You need to do this because System Restore will restart your computer when it finishes. First, save any open files and close all programs. You need to do this because System Restore will restart your computer when it finishes. 2. Open System restore. To do this, click Start , and then click All Programs (or Programs ). Open System restore. To do this, click Start, and then click All Programs (or Programs). 3. Click Accessories , click System Tools , and then click System Restore . Click Accessories, click System Tools, and then click System Restore. If you are prompted for an administrator password or confirmation, type your password, or click Continue. 4. When the Sony VGP-BPS13/S Battery System Restore wizard opens, click the Choose a different restore point button. 5. Click Next. 6. Choose a restore point that you estimate was created before the problem started. Choose a restore point that you estimate was created before the problem started. 7. Click Next , and then click Finish . Click Next, and then click Finish. 8. Wait while System Restore restarts your computer. Wait while System Restore restarts your computer.

Next steps If there were no restore points that you could use or if using System Restore does not fix the problem, unfortunately you will have to perform a clean installation of Vista to fix the problem. If there were no restore points that you could use or if using System Restore does not fix the problem, unfortunately you will have to perform a clean installation of Vista to fix the problem.

install Windows Vista

If you have a restore, or recovery, disc (CD-ROM or DVD) from your computer manufacturer, you can use it to quickly restore Windows and all the software that came preinstalled with your computer. However, you must reinstall any software that was not already installed by the computer manufacturer, if you use this method. In most cases, you can insert the disc and then restart your computer to start the restore process.

If you do not have a restore CD-ROM or DVD, you can install a new, or clean, version of Windows by using the Windows installation disc. However, you must reinstall all of your other software separately in this case. If you do not have a restore CANON np-e3 battery CD-ROM or DVD, you can install a new, or clean, version of Windows by using the Windows installation disc. However, you must reinstall all of your other software separately in this case.