[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Globus-discuss] C/C++ Grid Services and Clients



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Emma,

if you do not need the full power of grid services and just want to develop web services and related clients supporting the globus toolkit security infrastructure (GSI), then you can use gSOAP and the GSI plug-in for gSOAP. This package will allow you to quickly develop in C/C++ both clients and servers. The web services will be fully interoperable with java clients built using java axis and the java cog. However, only transport-level security is currently supported.

Some of the feature of the package:

support for mutual authentication;
support for delegation of credentials;
connection caching;
support for your own authorization mechanism though a callback;
etc.


The software is freely available at the following url:

http://sara.unile.it/~cafaro/gsi-plugin.html

it works with the latest pre-ogsi release of the globus toolkit 3.2.x, and even though I have not yet tested it, I believe it also works with the 3.2.x WS release of the globus toolkit.


Best regards,
Massimo

On Oct 19, 2004, at 9:55 PM, Fabiano Portella wrote:

Hi Emma.
Sorry if this is a too late answer, but I got a good reference that match exactly you need.
http://www.cs.unc.edu/Research/grid/CGridServices.html
It's a simple example, but I think it's important to get the steps.
I hope this helps.
Regards,
Fabiano.

Emma Buneci <ebuneci@yahoo.com> wrote:
Dear all,

I hope somebody can offer some suggestions to my
questions.

We have a rather large C/C++ code base, and the
particular code needs to be transformed to a web /
grid services infrastructure (Web services and grid
services standards should be converging in the future,
in principle). Furthermore, we have the requirement
that the transfer of information between services and
clients be very fast/efficient.

It seems that at this time there is not much support
for C/C++ services and clients in the GT world. There
is one programming tutorial for how to write a C
client, and in my opinion, it is not a very intuitive
and to-the-point guide (in comparison to Borja's Java
tutorial). There's only a single counter sample client
in C, and one has to dedicate *some time* to figure
out what's going on. I don't know how t! he GT user
community feels about better future support for the
C/C++ services and clients. So far, it seems that the
services and clients were designed more for the
Java/Axis world, and if somebody wants to do something
off the beaten path, they're basically on their own,
though there is a lot of C/C++ code around...

So, here are my questions:
1. Is there sample code anywhere (that somebody's
willing to share) on how to write a C/C++ Grid
service?

2. From my understanding, one can write either
a) the service in Java and use JNI to access
underlying C/C++ code
b) write the service in C/C++ and then wrap it
around with SWIG

Given the requirements of performance, it seems that
b) is the option to go. Am I correct?

3. Does anybody have any suggestions with respect to
what would be the best solution of an efficient and
fast transport protocol to be implemented between the
service and the clients? We've been! looking at
Globus_XIO with the possibly use of GridFTP(?), since
there are not that many "fast" protocols implemented
under XIO. The data transfered between service and
client can be described as having real-time
characteristics. Its format will probably not be XML,
since the amount of data could be very large; we'll
probably use some proprietary data format.

Any answers/suggestions are welcome,

Emma




__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

-
To Unsubscribe: send mail to majordomo@globus.org
with "unsubscribe discuss" in the body of the message


Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
- --
************************************************************************ *************

Massimo Cafaro, Ph.D. Center for Advanced Computational Technologies
Assistant Professor Voice +39 0832 297371
University of Lecce, Italy Fax +39 0832 297279
Faculty of Engineering E-mail massimo.cafaro@unile.it
Via per Monteroni cafaro@cacr.caltech.edu
73100 Lecce, Italy Web http://sara.unile.it/~cafaro

************************************************************************ *************

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBdn8pAfiHN/HOWeURAoAuAKC2UQuRnthpreffxCmuNGxeJOOb3ACfYyrO
tJ+fFgQ7wliEwTiwHRJWpjo=
=mvg8
-----END PGP SIGNATURE-----

-
To Unsubscribe: send mail to majordomo@globus.org
with "unsubscribe discuss" in the body of the message