Archive for September 23rd, 2007

September 23, 2007: 6:39 pm: adminLiving With Software

The most important part of knowing CORBA is, you should know the full form of CORBA, that is Common Object Request Broker Architecture. You dont even have to necessarily understand this full form, if you are only planning to see where it fits in a software solution.

To understand CORBA, let us start with our simple program. Remember the functions which we would have used in our first C program. One such function that every one is familiar is part of the famous “Hello World” Program. The function we used was the ‘printf’ function which takes in a “Hello World” as parameter and does some task of outputting it on to a console.

printf(”Hello World”);

The signature of this function as defined in one of the headers would be

void printf(char* p_strOutput);

Now assume that we want to output this “Hello World” onto another machines console instead of your own machine. Let us see one way to do this.

We could use some sort of mechanisms like RPC(Remote Procedure Call). That is we make this function/procedure a remote procedure, that can be invoked remotely. We will prefix it with RPC and call this function

void RPC_printf(char* p_strOutputFromRemoteMachine);

Now basically we have defined this function and will henceforth call this as an interface. Once we have defined this interface, we need to implement this interface so that it prints onto the console what ever is passed on to the ‘p_strOutputFromRemoteMachine’ parameter. We can as well assume that the implementation of this ‘RPC_printf’ functions is the same as the one used by the normal printf function. Now one question that would come up in mind is. We have jsut copied the same implementation of the function ‘printf’ and renamed it by giving a prefix ‘RPC_’. How will this work remotely? Once we answer this question, we can as well understand what is RPC, and can then go ahead to understand what is CORBA in its basic structure.

First and foremost, the C function printf cannot be accessed across the process or across the machine boundary. Both of the caller, that is our Hello World program and the implementation of the printf function has to be on the same machine and within the same process. But our interface RPC_printf can be accessed across processes and machine boundaries. How do we do that? Once we have created the interface RPC_printf. we now generate some helper methods that will help us put this to the outside world. We could use some tool to generate what is known as the stub/skeleton in CORBA terminology. The stub is what is used on the client side. On the client side, the client will make a call RPC_printf and to the user of this method on the client, it will just be that he has made a call similiar to the printf statement. But since it is a stub onto which the call is made, the stub will take care of passing the information to the relevant skeleton on the other process which can possibly lie on the other machine. The task of identifying and sending it to the remote server machine is done by the stub on the client side.

Now the information has gone to the server side or the server skeleton. It is the reponsbility of the server skeleton to do the task that is required of the function RPC_printf and return back. The skeleton of the server side now delegates it to our implementation of RPC_printf, which can be just the copy of the implementation of the normal printf fucntion. Once this function is completed, the skeleton on the server side will pass information back to the client stub to indicate that he has completed the task sucessfully.

If we have understood the above scenario, then we have already understood RPC. But RPC has some limitations. Let us examine them. Most of the RPC will always work only on the same platforms and with the same set of language interfaces. The C style RPC on solaris will not necessarily work with the C style RPC on windows. Moreover, it could also be tied to a specific language and also a specific network protocols. We cannot call this C style interface from Java(It will give us compiler errors in the first step itself). CORBA indeed solves these 3 problems of platform, operating and network dependencies for a RPC mechanism.

Let us examine how the problems are solved by CORBA. To solve language independence, the interface RPC_printf now renamed as ‘CORBA_printf’ will use its own proprietary language which is defined by the IDL constructs. Using IDL constructs we can construct a CORBA IDL interface. The CORBA IDL constructs defines a type called string. This type can be mapped to char* of a C function or string class of a Java function. And lo, we have solved the problem of language dependency. Now who does this mapping from IDL to a specific language? This is done by the IDL compiler. For each of the language where we want to use CORBA, we will have to use the IDL compiler to generate equivalent interfaces for our language. Now the language problem is solved. What about the platform and network dependency? CORBA solves this, by using specific protocols which have to be implemented by some body called an ORB vendor. CORBA defines something called, as an IIOP which works on TCP/IP. Since this is available with all the Opearting System, we have in effect solved the Operating System and Network dependency. With this CORBA has solved all our problems of language/platform/network dependency. Now what we typically come across as ORB is nothing, but a service or program which does all this stuff for us.

Two other RPC mechanisms, that should be mentioned is COM/DCOM and RMI. As we saw earlier, there are some limitations. COM/DCOM is popular among the windows programmers. But the main problem with this is, this cannot be used with Unix like machines. With Java as a platform independent solution, we can solve this problem of being dependent on Operating System platform by using RMI(Remote Method Invocation). But it fails to solve the problem related to different language. All RMI calls have to be made and written in Java only. This may not be a problem for fresh developement. But if we have legacy systems, we cannot overwrite everything from scratch and move all our huge code base, say for example from ‘C’ language to ‘Java’ language. The following table shows this.

'Mechanism'     'Language'      'Operating System'
 'COM/DCOM'      'Yes'           'No'
 'RMI'           'No'            'Yes'
 'CORBA'         'Yes'           'Yes'

Now we can write our function in any language, publish its equivalent IDL, implement the IDL interface. Once this is done, then we can have this function being invoked by any langauge, across any Operating System.

i.e Our ‘CORBA_printf’ can now be written in C language and implemented on solaris Operating System and then we can have this method being called by a Java client from a windows Operating System.

Asif Khan R
A developer with 6 years of experience with different distributed technologies.

: 6:13 pm: adminThe Technology Way

Our own home is our number one asset and it is a strong capital appreciating asset - therefore the most sensible investment decisions we can make will be locked into that property.  Here’s how to make even more from that investment decision.

So much advice is bandied about on the internet and even on the street about what makes a sensible investment, what makes a good investment and what makes a secure investment. 


Well – when you consider that for most of us our own home is actually our number one asset and that it is a strong capital appreciating asset, surely the most sensible investment decisions we can make will be locked into that real estate. 


By making the decision to buy your own home you have already made the most sensible investment decision of your life!  After all we’re all well aware that paying a landlord’s mortgage in the form of making rental payments each month is effectively throwing tonnes of your hard earned cash down the drain.  By deciding to turn that hard earned cash into capital appreciating bricks and mortar you are investing into your long term financial security. 


Here are two more sensible investment steps that you can take towards making the very most of your home and getting the very most from your home. 


Step One – Make Home Improvements 


A house is a living, breathing organic structure that requires constant ongoing attention and care; by keeping your home in pristine condition and paying prompt attention to any repair and renovation work that needs doing you will be managing your investment to the very best of your ability. 


Just like investment fund managers constantly tweak and hone their investment decisions for the sake and benefit of their investors’ cash, so you should consider constantly tweaking and honing your home to keep it looking fresh, new and well maintained. 


If you allow your home to fall into disrepair it will not only lose value but it will cost you far more in the long term to put right.  Furthermore it will reduce the amount you can sell it for should you decide to relocate ever. 


Step Two – Pay Off Your Mortgage 


A mortgage is the only way most of us can afford to get on the housing ladder – but there’s no denying it, it’s an expensive debt to carry around and shoulder each month.  The longer you take to pay off your mortgage the more interest you will have to pay.  The monthly amounts you pay in interest and mortgage insurances soon add up to in excess of the original amount borrowed! 


Unfortunately for us most mortgage lenders like to lock us into long term contracts with penalties for early repayment and making lump sum payments but it is possible to renegotiate mortgage terms, find a new lender and get a flexible mortgage that allows you to repay lump sums without incurring a financial penalty.  The best times to do this is when it is really a buyer’s market and just like the housing market is cyclical so the lending market is too.  So wait until all the adverts are on the TV and in the newspaper telling you about the most competitive rates available and how if you move mortgages the new lender will pay all your fees and then make your move! 


If you’re currently locked in to an inflexible scheme consider putting aside as much as you can each month into a suitable investment vehicle which is low risk and high interest paying and then access this money as soon as you’re able to pay it off your new flexible mortgage plan. 


The sooner you truly own your own home the sooner you’ll be benefiting to the max from the most sensible investment decision you’ve ever made!

ABOUT THE AUTHOR

Rhiannon Williamson is a freelance writer whose many articles about international property and investing in overseas real estate have appeared in publications around the world. Visit this link to read her latest articles about Investment Property Abroad

: 6:00 pm: adminThe Technology Way

Fall is the time of the year when many birds are busy preparing for the long journey to their winter homes. Migration is the movement of birds and other animals from one home to another. Some birds will fly thousands of miles to reach their winter homes!

Birds begin the journey to their winter homes before the food supply in the north runs out. Day length and temperature plays a part in triggering the birds’ internal seasonal clocks. Shorter and cooler days means that the food supply is running out. When the water in ponds and lakes begin to freeze over, waterfowl cannot get at food easily and it is time to fly south where it is warmer and open water and food can be found.

In the fall birds begin to flock together getting ready for the big trip south. This is the time of the year when you will see flocks of blackbirds feeding on berries or the V-formation of flocks of geese in flight. It is an important time to build up strength and fuel up for the dangerous voyage.

Birds use fat as fuel for their journey. It is important that they have enough to eat before they leave so they are able to store enough fat for the long distance they must travel. Some birds make many stops, filling up with enough food to make it to the next stage of their journey.

Birds face many hazards during migration. Some may get blown off course or get caught in a storm. Some birds don’t have enough food or fat stored to complete the trip. Hunters claim thousands of ducks and geese each year during fall hunting season. Changes in forestry, agriculture and urban expansion are difficult for birds. These changes affect the habitats of birds and other wildlife. Migrating birds depend on the forests and wetlands and sometimes cannot adapt to the changes.

Related Internet Resources:

http://scienceforfamilies.allinfo-about.com/features/birdmigration.html
——————————————————————————–

About the Author

Author and Internet Content Developer since 1995.

: 7:59 am: adminArts & Crafts

THE ESSENTIAL

Here I stand alone in my days of youth,
 And tell myself a sacred truth.
 Verses of vigilance, songs of wisdom,
 Accompany me to the far-off stardom.
 There’s a lot to think, there’s a lot to do.
 I’m yet to see the green and blue.

Then someone cries I’m going down,
 How then will I get the glitzy crown?
 But the winds through my hair whisper their say,
 And chant about that big fat day.

Fears strikes, angst engulfs me,
 But my spirit, empowered, tells me what to be.
 I splash the water on my face,
 And bear the part of human race.
 Everything from war and peace.
 All the tastes of faith and fleece.

Still, I feel, my lass and her dance.
 I believe the depth of my own romance.
 Dust and fire, mist and storm,
 Inside of me are all day long.

I
 A queer feeling arises when I’m at this.
 I constantly feel there is something somewhere I miss.
 I ponder hard and get no fact.
 I wonder what’s the zenith of my act.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

I? I wonder what’s there about me.
 I just don’t know what am I supposed to be.
 Is the soul pure/impure?
 My goal, about it I’m never so sure.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

Are my deeds good or bad.
 In my hereafter will I be happy or sad?
 Will my possessions be milled over high or low?
 My headway can either be swift or slow.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

Lastly, I can either step in heaven or hell.
 But I cannot describe my words and ways so well.
 Myself I don’t know what to call.
 I know one day I’ll cross the Styx, but that couldn’t be all.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

My soul and torso shall be detached.
 Then of course I should feel unscratched.
 This is the scene beyond my insight.
 I really don’y know anything about my future plight.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

Yes, I don’t know why I’m here.
 I’m in search of something pure and clear.
 It’s my essence which I want unfolded.
 I want to break the bonds within which I’m enfolded.
 Then I think ‘who am I’?
 I’m here but I don’t know why.

My work has been published in VoicesNet Anthology, Powell, Ohio. I write about different topics. Other than poetry, I also write prose.

: 2:52 am: adminLiving With Software

Palm Software! You probably, have the heard the word, even if you are not a tech-savvy person. A palm computer is a computer that not only fits in your pocket but also in your palm, as well! That’s why the name. Or in other words, palm computers are mini-computers that work like the regular computers. They have come a long way since their birth. Today, with a palm computer one can access the web, send emails and even get stock market quotes. But that is not all. One can do lots of other things with a palm computer—like setting up appointments, listening to music and playing games. The list is probably endless. But just like a typical computer, palm computers also need software to work or function. These special software are called free palm software. With the popularity of palm computers on the rise, free palm software have flooded the market. There are lots of free palm software that are available on the internet, ready to be downloaded.

So how does one download a free palm software? After all it is not a typical computer! The question may sound baffling but the solution is very simple. All one needs to do is hook up a palm computer to a regular computer (using the USB port) and download
all free palm software one needs to download.

Several sites on the internet have a good collection of free palm software. Most free palm software are free. Some of them are not free but nevertheless, reasonably priced. The range of free palm software available for download is quite broad too. However, caution must be exercised while downloading a free palm software! A free free palm software that one downloads may later turn out to be a virus! So one should download free palm software only from trustworthy websites. Not only that, it is always better to read the software review of free palm software before actually hitting the “Download” button.

Been involved in article writing since 2000. Have a great command on writing on various palm software reviews and tips articles.

: 1:08 am: adminThe Technology Way

There are many types of computerized organizing products that claim to save us time. We can choose between information or contact management software such as Outlook, Act!, Goldmine, InfoSelect, Now Up-To-Date (for the MAC), and many more. Then there are the PDAs (personal digital assistants), which fall into 2 categories: those that run on the Palm operating system, and Microsoft’s Pocket PC. But when I observe how people use these products, I see that many are just scratching the surface. They’re getting only a fraction of the time-saving benefits because they don’t know how to choose and use these products.

Importance of Realistic Expectations

Stephen Covey observed that many people seek a “Magic Tool” which they hope will magically, effortlessly, get them organized. But in reality it’s not that simple: In addition to choosing the right tool and using it properly, we must manage paper and phone calls, set priorities, deal with crises, juggle multiple projects, and plan for the future. Many people have a To-Do list dozens of items long, including tasks that have been waiting for months. Is such a list more effective just because it’s “in the computer”? Obviously not!

Choose Carefully, Then Learn to Use It

Don’t get me wrong — I’m no Luddite. I love computers. I’m totally dependent on my contact management and scheduling software — it literally saves me hours each week. (In case you’re curious, I use Goldmine). Yet few people seem to get the full benefit of the technology they’re using. For some users, these products even waste as much time as they save — although the victim is too close to the situation to see it. Perhaps they never really learned to use it, so they’re only using a fraction of its potential. Or they’re using the wrong software for their needs. Many people even use two or three software packages that do basically the same thing — so the time wasted switching back and forth (not to mention the confusion that results!) outweighs any benefits. Last but not least is a problem that’s completely self-inflicted and easy to prevent – I refer to data loss due to failure to back up your data and guard against battery failure.

It’s Still Up To You

Truth is, calling such software or handheld computers “organizers” is a misnomer. They’re really just places to store information. In themselves, they do not organize anything. WE do –through a comprehensive system of time, paper, task, and information management. So, if you’re tempted to buy an electronic “Magic Tool,” choose very carefully. Then, once you’ve bought it, take the time to find out all it can do — and then use it to the max!

Copyright Jan Jasper 2005

Jan Jasper has been helping busy people to work smarter, not harder since 1988. She is the author of “Take Back Your Time: How to Regain Control of Work, Information, & Technology” (St. Martin’s Press). Jan has helped thousands of people juggle multiple projects, survive information overload, and get the most from office technology. She also does configuration and training for software such as Goldmine & Microsoft Outlook. Call 212.465.7472 or visit http://www.janjasper.com

: 12:16 am: adminHardware Stuff

It is no secret that servers can take up a lot of floor space, and power. As a result, they can sometimes seem inconvenient. One way to save space and power is to consolidate servers. Server consolidation is very important in order to ease some of the frustrations of overdue consolidation processes. Server consolidation projects can also be accelerated via automation and virtualization. Platespin server consolidation helps to accelerate consolidation projects, and reduce errors. This is done without actually having to have contact with the physical machines.

Platespin allows managers to measure and evaluate resource utilization in order to speed up capacity planning for consolidation projects. This is accomplished by remotely gathering information about the server. This information can be the server operating system, memory, CPU speed, the network, and memory. Platespin server consolidation works on Windows NT, 2000, and 2003 systems. The system works without the help of agents. Therefore, the need to manually deploy software is eliminated. The risk of missing certain agent dependencies is also eliminated in this case. Platespin is also very simple and lightweight, so it can start to collect data in almost one minute.

Platespin completely automates the physical to virtual migration of data. This allows the servers to be consolidated quickly and with more ease. There is a drag and drop interface that allows the user to convert machines running Windows or Linux into one fully functional virtual machine that is hosted on several types of servers. These servers include VMware GSX Server, Microsoft Virtual Server 2005, or simply a Platespin Flexible Image file.

Network configurations, CPU cycles disk space, and memory allocations can all be converted rather quickly. This ease allows users to right-size target servers as the conversion process is occurring. As a direct result, data centers are made able to increase the number of servers that are able to be consolidated. This further optimizes resource utilization rates.

Sever consolidation may seem complicated, but the right program can make it quite simple. Platespin automates many processes and allows many different factors to be converted quickly. This means that the total time for consolidating servers is reduced.

Jennifer Hanson recommends you visit www.platespin.com/ for more information on server consolidation.