Wednesday, July 23, 2008

Difference between Application Server and Web Server (EJB and WebService?)

"An application server is technology where developers can create, test, and execute application components. Application servers are typically J2EE-based, running EJBs or other Java components. Application servers are designed to create true applications with complex business logic, and have scalability features such as load balancing, fail-over, and process distribution. In other words, it's primarily a development environment.

In contrast, Web servers are technology designed to create and deploy Web site, serving up content more so than applications. They both use Web interfaces, but Web servers are more about the interface than the back-end logic. In other words, Web servers serve up content.

As time moves on Web servers are looking more like application server, as they adopt their functionality. I can understand the confusion."

Actually the quote pretty much outlines what is going on but maybe some examples would help:

Apache HTTP server: A Web Server. It can serve up static content (HTML pages). Some extensions allow it to serve dynamic content (generated pages) - for example CGI; a new process is started to generate the dynamic page/response for a single request.

Jakarta Tomcat: Strictly speaking Tomcat is a "Web/Servlet Container", it’s not an Application Server, at least not in the J2EE sense. It does not require a separate Web server to work, however the recommended production configuration is to have a Web server serve the static content while dynamic content is delegated to Tomcat. Servlets were meant to replace CGI - in a servlet container each request is handled by a thread rather than a process - the Servlet/Web Container runs in a continuously running process. Even though a Web Container is not a full blown application server many applications are built in this "simpler" environment.

JBoss: This a J2EE application server. In addition to a Web Contianer it also has an EJB Container. While a Web container hosts servlets, an EJB Container host Enterprise Java Beans (EJBs). As of EJB 2.1 this includes stateless session beans, stateful session beans, entity beans, message-driven beans and EJB endpoints. According to Sun doctrine the business logic is supposed to be implemented in session beans and persistent objects are implemented as entity beans - presentation logic belongs in the Web container. However non-web Java clients can also access components in the EJB container via remote interfaces. The main drive behind the development of the EJB container was the desire for declarative transaction management, managed persistence and declarative security. However many found the EJB approach to be overkill, too heavyweight, and too heavy-handed. Often other technologies are used instead of an EJB container - examples: Spring for transaction management, Hibernate or iBatis for persistence management, etc. This shift is acknowledged in EJB 3 as now "Plain Old Java Objects" (POJOs) have become part of the core persistence strategy.
A J2EE application server also has to support other technologies in addition to a Web Container/EJB Container as per Enterprise Edition specification - JMS (Java Message Service) is just one example.
Other examples of J2EE application servers are BEA Weblogic (Weblogic Express is only a servlet container), IBM Websphere, Oracle Application Server, Sun Application Server, GlassFish, etc.

Your question could be answered from a design point of view. The Web Server is the software where you can handle a Web Logic of your running system, from a Java perspective, the web logic could be presented using Servlet API and JSP API and beyond.
The Application Server differs, when your system has a Business Logic, which means, the need to use a business implementations, e.g. High level network communications, high level security and high level data control, all these topics needs a minimum set of collections and APIs like EJBs, JMS technology and JNDI technology. In this case, and because of using those technologies you need an engine to take care about firing up and running those APIs, in other words, you need an Application Server. e.g. JBoss.

The Web tier is where the Web Server running, the Business tier is where the Application Server running. But, peer in mind, nowadays new topics came out! The vendors, designers and decision makers in the system architecture are increasing the gap between both servers, as you can check by your self, you can download both Application and Web servers in one engine, for example, the Sun Application server which comes with J2EE 1.4 acts like that, the JBoss Application server now could be downloaded with a Tomcat engine within it, this is because most of systems needs both parts to get the goal. And who knows what is next!


Thursday, July 17, 2008

Create your own MetaTrader extension (dll)

Create your own MetaTrader extension (dll)

Hi folks!

Today we are going to go step by step creating our first MetaTrader extension (dll) in C++, let's don't waste the time and start by defining what's the MetaTrader extension (dll)?

What's the MetaTrader extension (dll)?

MQL4 language give you a limited things to do with it and there are a lot of things you can not do in MQL4. To get the full control of your Windows operating system (For example, accessing the window registry or file handling APIs) you have to choices:

1- To call/use the windows common dlls and import the functions you want, and this is an example:

#import "user32.dll"
int MessageBoxA(int hWnd, string lpText, string lpCaption, int uType);

In the line above we used the #import keyword to import one of the "user32.dll" function; MessageBoxA function. Then we can use this function in our code like any normal function.

2- The second choice is creating our own dll in c++ and use it in our code the same as the common windows dlls. And that's what are we going to learn today.

The Tools you need:

I tried Visual Basic to create the MetaTrader dll but it failed, the truth is I didn't give it a lot of time and trials because the fact that the Visual Basic is not a real dll (activex) creator.

Note: If you find here any new terms that you don't understand them (like activex), if you can't ignore them you can ask me to explain them to you. But you don't need to know these terms to understand how to create your own dll.

So, the best choice was to use Visual c++, I used Microsoft Visual c++ 6 which you can download free express version of it from here: http://msdn.microsoft.com/vstudio/express/visualc/download/

Note: The version of Visual C++ used in this tutorial is Microsoft Visual c++ 6 not the express version.

Now let's create our first dll that says "hello world!"

Hello world!

1- The first step you have to run Visual C++ (Figure 1).

Figure 1 - Visual C++ 6

2- Now from File menu choose New and a dialog like that (Figure 2) will appear.

Figure 2 - New project dialog

3- From this dialog choose "MFC AppWizard (dll)" and write a name for the project in the "Project Name" field (Figure 3) and click "OK".

Figure 3 - MFC dll

Note: You can choose "Win32 Dynamic-Link Library" instead of "MFC AppWizard (dll)" but this means you will not able to use "CString" string type, CString is a string type in MFC that makes the world easier.

4- Another dialog (Figure 4) will appear to you asking you for some option. leave the default options and click "Finish" button. And when the information dialog appear click "OK".

Figure 4 - Project options

5- Congratulation! You have a new project now "demo" project which you can start to write your dll in. Please open the file "demo.cpp" and give it a look.
Now, we are going to write some code in this file:

#define MT4_EXPFUNC __declspec(dllexport)

you put this line after the lines:

#include "stdafx.h"
#include "demo.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

6- Add the end of the file "demo.cpp" and after this line:

CDemoApp theApp;

We are going to write our "Hello" function like that:

MT4_EXPFUNC void __stdcall Hello(char* say)
{
MessageBox(NULL,say,"demo",NULL);
}

7- Now we have the function "Hello" which takes a string to say it and returns no thing (void).
But the world want to know our function and in c++ to make the function availabe to the world we have to add the function name in a file called the .def file.
Now open the demo.def file and add this line (the bold line) at the end of the file:

; demo.def : Declares the module parameters for the DLL.

LIBRARY "demo"
DESCRIPTION 'demo Windows Dynamic Link Library'

EXPORTS
; Explicit exports can go here
Hello

8- Compile the dll by pressing F7, if you are a lucky man like me you will not get any errors or warnings. Search for the demo.dll in Debug folder in the Demo project folder.

In the coming article we are going to test our dll and we are going to know more about the data type passed and received to and from the dll that we can use to write more advanced dlls.

Hope you find it a useful article!

Coders' Guru



Hi folks!

In the previous part of this article we created step-by-step our first MetaTrader extension (dll) in C++ and in this article we are going to give it a test.

Also we are going to study in this article and the coming article some of the advanced topics briefly (like how to use arrays and structure in your dll).

Hope you are ready for this hard journey which deserves the effort.

Let's test our demo.dll

We are going to write some code to test our demo.dll. These are the steps we have to take before saying "Hello World!"

1- We have the demo.dll in the debug folder in your Visual C++ projects folder. Copy the demo.dll to the library folder ("MetaTrader 4\experts\libraries").

2- Open MetaEditor to create the include file which will hold the declaration of our "Hello" function. This is the code of demo.mqh

#import "demo.dll"
void Hello(string say);
#import

Note how we have imported the dll and how we have declared the "Hello" function with the same parameters (string say) and return value (void) as the function in the dll.

This file will be saved at the Include folder (MetaTrader 4\experts\include).

3- Now, let's create the script to test the demo.dll. We are going to name it "Hello.mq4" and it must be saved at the Scripts folder (MetaTrader 4\experts\scripts).

#include 

int start()
{
Hello ("Hello World!");
return(0);
}

Note how we have started the code by including the demo.mqh file to make it a part of our code.

4- Compile the script (F5) and load it now (double click it in the Navigator window in the Terminal). What did you get? a nice dialog like the one showed in figure 1, if not please check everything or email me!

Note: You have to enable the option "Allow DLL imports" in MetaTrader before using any code that import external functions (from the common windows dlls or you custom dlls like our demo.dll) that's by going to Tools -> Options -> Expert Advisors tab then checking "Allow DLL imports" (Figure 2).

Advanced Sample (ExpertSample)!

Our demo.dll was a simple one yet it was a completed dll. There's an advanced sample that shipped with MetaTrader program which include advanced programming topics. We are going to study it and thank MetaQuotes for its ideal sample.

You will find the sample of the dll in "MetaTrader 4\EXPERTS\SAMPLES"; the dll (ExpertSample.dll) in the folder "MetaTrader 4\EXPERTS\SAMPLES\ExpertSample", the include file (sampledll.mqh) in "MetaTrader 4\EXPERTS\SAMPLES\INCLUDE" and the script (ExportFunctions.mq4) in "MetaTrader 4\EXPERTS\SAMPLES".

You have to open the source code of the dll (To open the source code double click ExpertSample.dsw file) and give the code a look. You will find it more advanced and to some degree a complex one compared to the demo.dll, but don't be afraid we are going to know everything in the next article.

Tuesday, July 15, 2008

MetaTrader History Data Importing and Converting Tutorial for Quality Backtesting

MetaTrader History Data Importing and Converting Tutorial for Quality Backtesting

Backtesting MetaTrader expert advisors on historical data is a good way to test a strategy. But testing on the limited data supplied with MT4 installation gives a very poor quality of testing (usually below 50%). So, how to achieve a 90% quality in backtesting of MT4 expert advisors? It’s not that hard really, just follow this simple tutorial and you will able to test any MetaTrader EA.

1. Download a new MetaTrader 4 installation and install it to a separate folder. Be advised that a good MetaTrader historical data take up a lot of disk space, so install it to a drive with at least 1-2 Gbytes of free space. For download MT4 installation I recommend official MetaQuotes site.

2. After you install your MT4, don’t run it yet. Go to the folder you have installed it to. Go the ‘history’ folder there and delete all folders there (the actual folders names inside the ‘history’ folder may be different from those on these pictures):

3. Run the newly installed MetaTrader and open a free demo account with whatever broker it will be offering to you (official MetaQuotes installation offers random brokers for demo account opening in its MT4). Login to your account and close all open charts (if any).

4. Adjust the MetaTrader options to allow larger charts (more bars in history):
The close your MetaTrader.

5. Download a quality historical data for every currency pair you want to test your expert advisor on. I recommend Alpari History Center for this - download M1 data for each of the currency pairs you need.

6. Unzip the archive with M1 historical data somewhere. Rename it to comply with MT4 standard naming - i.e. EUR/USD M1 chart should be named EURUSD1.hst, GBP/USD M1 should be renamed to GBPUSD1.hst, etc.

7. Copy the renamed history file to your MetaTrader’s ‘history’ folder into your broker’s folder (overwrite if prompted):

8. Launch MetaTrader 4 again. Don’t open any charts on-line, open your downloaded M1 chart offline (example shown for EUR/USD chart):

9. It might take some time for the actual chart to load, but it’s OK. Now you need to convert M1 history to every timeframe you will need. For this you need to use a period_converter script which is a standard feature of all MT4 platforms. Run it from the Scripts tab and set its ExtPeriodMultiplier input parameter to the number of minutes in the desired output timeframe. For M5 enter 5, for M15 enter 15, for M30 enter 30, for H1 enter 60, for H4 enter 240, for D1 enter 1440, for W1 enter 10080, MN isn’t convertible as there is no fixed amount of minutes in one month:

10. Wait for the script to finish its work (may take up some time; it’s more than 2 years of data after all):

11. Repeat steps 8-10 for all timeframes you want to get.

12. Repeat steps 5-11 for all currency pairs you want to test your MT4 EAs on.

13. Voilà! Now you can enjoy a 90% quality backtesting and test every expert advisor you want on the time periods of more than 2 years. Good luck with your trading!

Thursday, June 12, 2008

units available calculator

http://fxtrade.oanda.com/tools/fxcalculators/units_available_calculator.shtml


This calculation uses the following formula:

Margin Available * (margin ratio) / ({BASE}/{HOME Currency} Exchange Rate)

For example, suppose:

Home Currency: USD
Currency Pair: GBP/CHF
Margin Available: 100
Margin Ratio : 20:1
Base / Home Currency: GBP/USD = 1.584

Then,

Units = (100 * 20) / 1.584
Units = 1262

Wednesday, June 11, 2008

J2ME可选包—PIM介绍 (ZT)

J2ME可选包—PIM介绍
作者:mingjava 文章来源:本站原创 点击数:2529 更新时间:2004-8-18
前几天听朋友说起移动那方面正在谈论关于PIM的问题,这是个比较前沿的技术了。忽然想起来以前曾经在sun的网站看到过一篇文章是讲述PIM的,于是今天把它大概介绍一下。

PIM的意思是personal infomation management(个人信息管理),主要是针对用户的重要信息,例如通信录、提醒、日程等。PIM OP定义了一系列的API,提供了访问这些重要数据的方法和途径。有必要先谈一下什么是OP,OP的意思就是optional package(可选包),他并不能提供一个整套的运行环境比如MIDP。他是对MIDP的扩展同时需要设备的支持。因此他并不是通用的,在移植性上存在问题。

在使用PIM OP之前我们必须判断它是否可用,方法很简单只是检查microedition.pim.version的属性值是不是null,例如:
...
// Check that PIM Optional Package is available
String v = System.getProperty( "microedition.pim.version" );
if( v != null ){
// PIMOP available
} else {
// PIMOP not available
}
...

你不能通过在代码中检查pim包是否可用来判断上述问题,因为pim是和设备实现相关的。PIM定义了三种信息类型,分别是Contact list,Event list , ToDo list,设备并一定要支持全部这三种类型,但是他至少要支持一种。

所有的API都在javax.microedition.pim包里面,你要通过PIM.getInstance()方法来得到PIM类,然后你才可以调用openPIMList()方法得到上述的list.例如下面的代码:
...
PIM singleton = PIM.getInstance();
ContactList cl = null;

try {
cl = (ContactList)singleton.openPIMList(PIM.CONTACT_LIST,
PIM.READ_ONLY );
// use the contact list
}
catch( PIMException ){
// no contact list available!
}
catch( SecurityException ){
// the application is not allowed to access the list
}
...

值得一提的是SecurityException,为了安全只有可信任的MIDlets才可以访问这些数据。如果不是的话会抛出这个异常,这恰恰符合 MIDP中的安全模式。在PIM list中的数据称作PIM Item,你可以把PIM list看作是容器,把pim item看作是实体。要想访问这些item可以通过如下代码:
import java.microedition.pim.*;
import java.util.*;

ContactList list = ... // a contact list

try {
Enumeration enum = list.items();
while( enum.hasMoreElements() ){
Contact contact = (Contact) enum.nextElement();
// do something with the contact
}
}
catch( PIMException e ){
// an error occurred
}
catch( SecurityException e ){
// can't read this list
}
...

在PIM item中可用的字段跟设备实现是相关的,因此在使用某个字段的时候有必要调用它的isSupportedField来判断一下,PIM 规范中同样对字段中的基本数据类型进行了定义,例如在Contact里面的TEL字段就是String你通过getStri()方法来得到,生日字段就是 long类型的通过getDate()来得到例如:
...
Contact contact = ...;
String tel = contact.getString( Contact.TEL, 0 );
...

...
Contact contact = ...;
long bday = contact.getDate( Contact.BIRTHDAY, 0 );
...

在contact里面包括多个字段,通过后面的index你可以访问他们。

就说这么多吧,希望对大家有用!

Tuesday, May 27, 2008

BlackBerry Glossary

BlackBerry Glossary

Push Email
Push email is commonly used to describe e-mail systems that provide an "always-on" capability, where whenever new e-mail arrives it is instantly available to read on a mail client device, such as a Blackberry handheld. More formally, a push e-mail system is one where the server (generically called the MDA) sends (or pushes) newly received mails to the client (the MUA).

PIN Messaging
Sending private emails, directly, between BlackBerries. A BlackBerry PIN is a special and unique number, for sending emails to other BlackBerries.

SMS
Short Message Service (SMS) is a service available on most digital mobile phones (and other mobile devices, e.g. a Pocket PC, or occasionally even desktop computers) that permits the sending of short messages (also known as text messages, or more colloquially SMSes, texts or even txts) between mobile phones, other handheld devices and even landline telephones. Other uses of text messaging can be for ordering ringtones, wallpapers and entering competitions. There are also many services available on the Internet that allow users to send text messages for free.

BIS
BlackBerry Internet Service (BIS) allows you to access your @blackberry.net email via a web browser and to configure your BlackBerry through a web-based interface.

HTML
Short Message Service (SMS) is a service available on most digital mobile phones (and other mobile devices, e.g. a Pocket PC, or occasionally even desktop computers) that permits the sending of short messages (also known as text messages, or more colloquially SMSes, texts or even txts) between mobile phones, other handheld devices and even landline telephones. Other uses of text messaging can be for ordering ringtones, wallpapers and entering competitions. There are also many services available on the Internet that allow users to send text messages for free.

WAP
Wireless Application Protocol or WAP is an open international standard for applications that use wireless communication. Its principal application is to enable access to the internet from a mobile phone or PDA. A WAP browser is designed to provide all of the basic services of a computer based web browser but simplified to operate within the restrictions of a mobile 'phone. WAP is now the protocol used for the majority of the world's mobile internet sites, known as WAP sites. The Japanese i-mode system is currently the only other major competing wireless data protocol. Mobile internet sites, or WAP sites, are websites written in, or dynamically converted to, WML (Wireless Markup Language) and accessed via the WAP browser

PIM
A personal information manager (PIM) is a type of application software that functions as a personal organizer. As an information management tool, a PIM's purpose is to facilitate the recording, tracking, and management of certain types of "personal information". A personal information manager (PIM) is a type of application software that functions as a personal organizer. As an information management tool, a PIM's purpose is to facilitate the recording, tracking, and management of certain types of "personal information".

APN

Access Point Name or APN is the name of an access point for GPRS.

An access point is:

  • An IP network to which a mobile can be connected
  • A set of settings which are used for that connection
  • A particular option in a set of settings in a mobile phone

When a GPRS mobile phone sets up a PDP context, the access point is selected. At this point an access point name (APN) is determined

  • Example: bigcompany.mnc012.mcc345.gprs.
  • Example: internet
  • Example: mywap.

This access point is then used in a DNS query to a private DNS network. This process (called APN resolution) finally gives the IP address of the GGSN which should serve the access point. At this point a PDP context can be activated.

The APN DNS record is in the form of apn.mnc(Network Code).mcc(Country Code).gprs. The numbering is defined by ITU-T E.212.

APN in BGAN or RBGAN:

An Access Point Name (APN) identifies an external network that is accessible from a terminal. An APN has several attributes associated with it that define how you can access the external network at that point. By default, the SIM card in your terminal is configured with the APN of your Service Provider. You may want to configure further APNs if you have arranged with your Service Provider to use more than one SIM Card.



BES

BlackBerry Enterprise Server (BES). BES allows company controlled, secure, wireless email and PIM synchronization. It provides complete administrative control over a BlackBerry remotely, using the BES console. The BES provides MDS capability, which, in short, is highly reliable internet access.

MDS
Mobile Data Service (MDS) is a method of Internet connectivity for a BlackBerry, usually provided by your company.

RIM
Research In Motion (RIM) is the company that manufactures BlackBerries and related software.

GSM
The Global System for Mobile Communications (GSM) is the most popular standard for mobile phones in the world. GSM service is used by over 2 billion people across more than 210 countries and territories. The ubiquity of the GSM standard makes international roaming very common between mobile phone operators, enabling subscribers to use their phones in many parts of the world. GSM differs significantly from its predecessors in that both signaling and speech channels are Digital call quality, which means that it is considered a second generation (2G) mobile phone system. This fact has also meant that data communication was built into the system from very early on. GSM is an open standard which is currently developed by the 3rd Generation Partnership Project (3GPP).

GPRS
General Packet Radio Service (GPRS) is a mobile data service available to users of GSM mobile phones. It is often described as "2.5G", that is, a technology between the second (2G) and third (3G) generations of mobile telephony. It provides moderate speed data transfer, by using unused TDMA channels in the GSM network. Originally there was some thought to extend GPRS to cover other standards, but instead those networks are being converted to use the GSM standard, so that is the only kind of network where GPRS is in use. GPRS is integrated into GSM standards releases starting with Release 97 and onwards. First it was standardized by ETSI but now that effort has been handed onto the 3GPP.

EDGE
Enhanced Data rates for GSM Evolution, or EDGE, is a digital mobile phone technology which acts as a bolt-on enhancement to 2G and 2.5G General Packet Radio Service (GPRS) networks. This technology works in GSM networks. EDGE (also known as EGPRS) is a superset to GPRS and can function on any network with GPRS deployed on it, provided the carrier implements the necessary upgrades. EDGE provides Enhanced GPRS (EGPRS), which can be used for any packet switched applications such as an Internet connection. High-speed data applications such as video services and other multimedia benefit from EGPRS' increased data capacity. EDGE Circuit Switched is a possible future development. In addition to Gaussian minimum shift keying (GMSK), EDGE uses 8 phase shift keying (8PSK) for the upper five of its nine modulation and coding schemes. EDGE produces a 3-bit word for every change in carrier phase. This effectively triples the gross data rate offered by GSM. EDGE, like GPRS, uses a rate adaptation algorithm that adapts the modulation and coding scheme (MCS) according to the quality of the radio channel, and thus the bit rate and robustness of data transmission. It introduces a new technology not found in GPRS, Incremental Redundancy, which, instead of retransmitting disturbed packets, sends more redundancy information to be combined in the receiver. This increases the probability of correct decoding. EDGE can carry data speeds up to 236.8 kbit/s for 4 timeslots (theoretical maximum is 473.6 kbit/s for 8 timeslots) in packet mode and will therefore meet the International Telecommunications Union's requirement for a 3G network, and has been accepted by the ITU as part of the IMT-2000 family of 3G standards. It also enhances the circuit data mode called HSCSD, increasing the data rate of this service. EDGE has been introduced into GSM networks around the world since 2003, initially in North America. EDGE is actively supported by GSM operators in North America. Some GSM operators elsewhere view UMTS as the ultimate upgrade path and either plan to skip EDGE altogether or use it outside the UMTS coverage area. However, the high cost and slow uptake of UMTS (as demonstrated by the upstart network 3) have resulted in fairly common support for EDGE in the global GSM/GPRS market. Although EDGE requires no hardware changes to be made in GSM core networks, base stations, however, must be modified. EDGE compatible transceiver units must be installed and the base station subsystem (BSS) needs to be upgraded to support EDGE. New mobile terminal hardware and software is also required to decode/encode the new modulation and coding schemes and carry the higher user data rates to implement new services. Whether EDGE is 2G or 3G depends on implementation. While Class 3 and below EDGE devices clearly are not 3G, class 4 and above devices perform at a higher bandwidth than other technologies conventionally considered as 3G (such as 1xRTT).

iDEN
Integrated Digital Enhanced Network (iDEN) is a mobile communications technology, developed by Motorola, which provides its users the benefits of a trunked radio and a cellular telephone. iDEN places more users in a given spectral space, compared to analog cellular systems, by using time division multiple access (TDMA). Up to six communication channels share a 25 kHz space; some competing technologies place only one channel in 12.5 kHz. In the United States there are two iDEN service providers: Sprint/Nextel and SouthernLINC Wireless. Countries which have operating iDEN networks not currently connected with the US include Canada, Jordan, Israel, the Philippines, Singapore, South Korea, Saudi Arabia, Japan, El Salvador and China. Motorola is committed to continued support of iDEN technology despite the Sprint buyout of Nextel and Sprint/Nextel's supposed eventual conversion to Sprint's CDMA system. Nextel has stated they will support iDEN until at least 2010, while other iDEN carriers have no forseeable expiration date for their services. iDEN's Push-To-Talk feature is the fastest in the industry.

CDMA
Code division multiple access (CDMA) is a form of multiplexing (not a modulation scheme) and a method of multiple access that does not divide up the channel by time (as in TDMA), or frequency (as in FDMA), but instead encodes data with a special code associated with each channel and uses the constructive interference properties of the special codes to perform the multiplexing. CDMA also refers to digital cellular telephony systems that make use of this multiple access scheme, such as those pioneered by Qualcomm, or W-CDMA. CDMA is a military technology first used during World War II by English allies to foil German attempts at jamming transmissions. The allies decided to transmit over several frequencies, instead of one, making it difficult for the Germans to pick up the complete signal. CDMA has since been used in many communications systems, including the Global Positioning System (GPS) and in the OmniTRACS satellite system for transportation logistics. The latter system was designed and built by Qualcomm, and became the seed which helped Qualcomm engineers to invent Soft Handoff and fast power control, the necessary technologies that made CDMA practical and efficient for terrestrial cellular communications.

Mobitex
Mobitex is an OSI based open standard, national public access wireless data network first introduced in 1991 by carriers RAM Mobile Data and in Canada 1990 by Rogers Cantel. Developed by Ericsson, Mobitex puts great emphasis on safety and reliability with its use by military, police, firefighters and ambulance services. During 9/11 and the 2005 Hurricane rescue and clean up operations, Mobitex proved itself to be a very reliable and useful system for first responders. In the mid '90s Mobitex gained consumer popularity by providing two-way paging network services. It was the first wireless network to provide always on, wireless push email services such as RadioMail and Inter@ctive Paging. It is also used by the first model of Research in Motion's BlackBerry, and PDAs such as the Palm VII. Mobitex is a packet-switched, narrowband, data-only technology mainly for short burst data. Mobitex channels are 12.5 kHz wide. In North America, Mobitex runs at 900 MHz, while in Europe it used 400-450 MHz. The modulation scheme used is GMSK with a slotted aloha protocol at 8000 bits/s, although user throughput is typically around half of that. The Network provided the first public access wireless data communication services in North America. Subscriber services included electronic messaging with Cc capabilities to multiple recipients combined with the ability to logon to any wireless or fixed terminal and receive stored mailbox messages, ie. push messaging. Mobitex is offered on over 30 networks on five continents. However, as of 2005, it is primarily used in the USA and Canada. European Mobitex networks withered in the shadow of the overwhelming success of GSM there in the early 1990's. Mobitex networks in North America have been marketed under several names, including RAM Mobile Data, BellSouth Wireless Data, Cingular Interactive, Cingular Wireless and Velocita Wireless (now part of the Sprint Nextel group)and Rogers Wireless in Canada. Mobitex is now marketed world wide by Mobitex Technology.

Last modified: July 7, 2006

Monday, May 26, 2008

SAS System

SAS (pronounced "sass", originally Statistical Analysis System) is an integrated system of software products provided by SAS Institute that enables the programmer to perform:

In addition, SAS has many business solutions that enable large scale software solutions for areas such as IT management, human resource management, financial management, business intelligence, customer relationship management and more.