Monday, May 08, 2006

EAI levels

We can differentiate three EAI levels. This is an important aspect of the IBM business integration strategy. The strategy positions the WebSphere Business Integration family of products in three tiers:

The lowest level of EAI is sending information directly from one application to another, for example, using WebSphere MQ messaging. This is known as point-to-point application integration architecture. Logic and formatting for data exchange is totally within the applications.
Where there are many applications involved, information needs to be intelligently routed to where it is needed. It might have to be transformed or reformatted, for example, using WebSphere Message Broker or WebSphere Process Server. The connected applications do not need to know about required data formats, but the business logic that starts the exchange is still inside the calling application. This represents the hub-and-spoke application integration architecture.
At the highest level of integration, a business process is represented by applications started by specific business conditions (or business logic). Here, the process is controlled by a workflow manager, such as WebSphere MQ Workflow, and supports sophisticated multistep process flows. WebSphere MQ Workflow also works with applications, while allowing human intervention. There is no need for the applications to know anything about the overall business process, which is defined in a business process model. The business process, controlled and executed by a workflow manager, knows when each application has to be invoked and what data is required. The applications do not link to each other. They send results back to a workflow manager. Then the workflow manager uses the business process definition to decide what happens next.

Friday, February 17, 2006

Golden Rules for Job Interview

Golden Roles for Interview

Interview is a selling process; you have to project yourself to what the clients want. “Means Value ---- Ends Value”
Modeling yourself to the requirements.

There are different ways to say “No”.
“Honey, I will call you in a few days. “ ==”I will not call you”.

There are two kinds of interviews:
Interviews by Middleman:
Say “Yes” to everything. Middle man is a mix-informed gatekeeper. Don’t spend time or think of anything, just say “yes”.

Interviews by Client:
Asian Interviewers: They will spend time on each and every resumes and trying to fail each of them until they take one unwilling at last. It will be a technical interview.
American Interviews: Just pull out one best resume and praying for God that this is the one he needs so he doesn’t have to worry about this and enjoy his life.
He is mentally prepared to say “Yes”. You must not use “No”. If he asks some questions you don’t think, TALK ABOUT SOMETHING YOU know which is related.

Don’t Use:
I have the knowledge of it.
I am comfortable with it.
I am exposed to it.
I am so so at it.
I am OK with it.
I can mange.
Use:
Yes.
Of course.
I can.
No problem.

Phone Interview: Speak louder and slower. The phone will cut forty percent of your voice off.

Try to VALIDATE if you can, ask questions which he can’t say “no”:
Don’t you agree with it?
Don’t you think so?
Doesn’t it make sense?
Doesn’t sound right?

Ask this question before the interview starts:
Would you mind telling me what the project is trying to achieve?
Hitting High Points:
Relate your experience with what they are trying to achieve. The interviwer is having a mental check list, trying to high those lists.

Monday, January 16, 2006

Doing nice things with XML plus Database?

http://www.w3schools.com/xml/xml_examples.asp

If combine the processing XML engine here with the database, I can do fancy stuff.

Make use of old CitiPOS code ...

Credit Card Payment

Credit Card Payment:
http://www.mitbbs.com/mitbbs_bbsdoc.php?board=BuildingWeb&page=279
You need Merchant Account or Non-Merchant Account service?

If merchant account, you need to register a business account from authority and obtain your business bank account in your local bank. Then, apply a gateway to accpet CC online.Most bank povide such service and there are also many many third-party services providers like authorize.net

If non-merchant account, the easiest way is to use Paypal or
sth like that, like 2checkout.com.Many many many such companies.

To accept CC, pay attention to:
1. service fee (incl. setup fee, month/annual fee, per service charge, etc)
2. Fraud control. Chargeback percentage of the gateway.
3. Security

Web Hosting Sites

Web Hosting:
myidealhost.com slow
www.diywebserver.com Step by Step
http://www.dslwebserver.com/
www.1and1.com

1. www.ace-host.net BAD Reputation? $9.95 Unlimited MySQL, 5000M/75G,
(这家好像名声很差,最好还是不要碰?)
2. www.valuablehost.com $5.00 1 MySQL, 100M/5G. $12.95, 5 MySQL, 300M/15G
3. www.softprise.com $5.95 1 MySQL, $11.95 4 MySQL, 4000M/60G
4. www.1and1.com 19.99/month, 3 MySQL
5. www.micfo.com $8.95/3months, 10 MySQL(4.0.22), 1000M/40G, PHP4.3.1,
$20 Setup for < 6months ($6.95-6months, $3.97-24+12months)
6. www.site5.com $9.95/3months, Unlimited MySQL(4.0.x), 3000M/50G, PHP4.3.x,
7. www.bluehost.com $6.95/24months, 10 MySQL, 4000M/100G, $30Setup with 3month s plan
8. www.hostingzoom.com $8.95/3months, 10 MySQL, 1000M/40G
其中site5和hostingzoom和micfo好像口碑不错

Tuesday, January 10, 2006

Servelt config and Servelt Context

Difference between ServletContext and ServletConfig
What the difference between ServletContext and ServletConfig apart from the fact that Context gives environmental details and Config abt the initialisation params?? Another other substantial diff??

I have mentioned some tips regarding ServletContext and ServletConfig. okey Do well

ServletContext Defines a set of methods that a servlet uses to communicate with its servlet container.
ServletConfig is a servlet configuration object used by a servlet container used to pass information to a servlet during initialization. All of its initialization parameters can ONLY be set in deployment descriptor.

The ServletContext object is contained within the ServletConfig object, which the Web server provides the servlet when the servlet is initialized.

You can specify param-value pairs for ServletContext object in tags in web.xml file.

The ServletConfig parameters are specified for a particular servlet and are unknown to other servlets.

The ServletContext parameters are specified for an entire application outside of any particular servlet and are available to all the servlets within that application.

XML

http://www.w3schools.com/xml/xml_technologies.asp


XHTML (Extensible HTML) is a stricter and cleaner version of HTML.

XML DOM (XML Document Object Model) defines a standard way for accessing and manipulating XML documents.

XSL (Extensible Style Sheet Language) - XSL consists of three parts: XSLT - a language for transforming XML documents, XPath - a language for navigating in XML documents, and XSL-FO - a language for formatting XML documents.

XSLT (XSL Transformations) is used to transform XML documents into other XML formats, like XHTML.

XPath is a language for navigating in XML documents.

XSL-FO (Extensible Style Sheet Language Formatting Objects) is an XML based markup language describing the formatting of XML data for output to screen, paper or other media.

XLink (XML Linking Language) is a language for creating hyperlinks in XML documents.

XPointer (XML Pointer Language) allows the XLink hyperlinks to point to more specific parts in the XML document.

DTD (Document Type Definition) is used to define the legal elements in an XML document.

XSD (XML Schema) is an XML-based alternative to DTDs.

XForms (XML Forms) uses XML to define form data.

XQuery (XML Query Language) is designed to query XML data.

SOAP (Simple Object Access Protocol) is an XML-based protocol to let applications exchange information over HTTP.

WSDL (Web Services Description Language) is an XML-based language for describing web services.

RDF (Resource Description Framework) is an XML-based language for describing web resources.

RSS (Really Simple Syndication) is a format for syndicating news and the content of news-like sites.

WAP (Wireless Application Protocol) was designed to show internet contents on wireless clients, like mobile phones.

SMIL (Synchronized Multimedia Integration Language) is a language for describing audiovisual presentations.

SVG (Scalable Vector Graphics) defines graphics in XML format.


--------------------------------------------------------------------------------

Monday, January 09, 2006

Teach J2EE using NetBeans

http://home.izforge.com/index.php/2006/01/04/204-netbeans-as-a-j2ee-teaching-ide


Part of my job is to teach, and I have decided that my students will do their J2EE duties with Netbeans. Here are some reasons why.

The Netbeans + Sun Application Server bundle is a huge advantage: there is only one thing to install to get ready to work, no need for extra setup, there is a full-stack J2EE server integrated with the IDE out of the box.
Running a webapp is as simple as pressing the start button. It does everything from starting the server, reloading the webapp, launching a web browser at the right URL and so on. Students can focus on the code instead of having to first deal with the low-level details of running a server, and deploying applications on it.
Students don't have to deal with web.xml, or creating the files in the right place. They can focus on adding new JSPs, new packages, new tests and so on to their projects.
It uses Ant, meaning that the project can be used outside of Netbeans in a rather clean way.
There is an embedded database (PointBase), which can be very useful in many situations (for instance when Oracle instances are down due to other lab courses...).
The editors are reasonnably good, and the completion in Java classes and JSPs is always helpful to students.
The JSTL support is very good, there is no reason for teaching plain-old and ugly JSPs anymore.
With Eclipse, things would have been slightly more difficult: get Eclipse, get the WTP plug-ins, get a J2EE server, install it, configure it, integrate it with Eclipse... I don't mean that Eclipse is any bad for J2EE development (I actually think the opposite), but Netbeans is a clear winner because it is (from 4.1+) simple and works out of the box. If you have to teach J2EE as well, I strongly recommend Netbeans.

Trackbacks
Le jeudi 5 janvier 2006 à 18:36, de JP'zlog :: #

Follow-up: Netbeans as a J2EE teaching IDE

My recent post on using Netbeans as a J2EE teaching IDE is having an unexpected success among the people behind Netbeans and Sun Application Server! I have received a very nice email from Ludovic Champenois, who is working at Sun in the Netbeans J2EE...

Sunday, January 01, 2006

free domain from Microsoft

The free domain name
A domain name is what comes before the ".com" in a Web address--like NYTimes.com, Verizonwireless.com or MarryMeBritney.com. Getting your own personal dot-com name has its privileges--for example, your e-mail address can be You@YourNameHere.com--but it costs money and requires some expertise.

It took Microsoft, of all companies, to make getting your own dot-com name free. Its new Office Live online software suite for small businesses, now in testing, will offer a domain name, Web site and e-mail accounts for free. Yes, you'll see ads on the screen (unless you pay for the ad-free version)--but plenty of people won't mind viewing them in exchange for a free, professional-looking Web presence.

http://www.microsoft.com/office/officelive/default.mspx

Saturday, December 31, 2005

Sharing Bookmarks, photos, etc

The new breed of Web site includes blogging services such as TypePad, the photo site Flickr, the shared bookmark site del.icio.us and many others. They are sometimes known collectively as Web 2.0--hosted online, relying heavily on users' submissions, and frequently updated and tweaked by their owners.