Re: newbie question on cobol syntax




"LX-i" <lxi0007@xxxxxxxxxxxx> wrote in message
news:xpKdnV3cTJn0nq3bnZ2dnUVZ_vKunZ2d@xxxxxxxxxxxxxx
Pete Dashwood wrote:
"LX-i" <lxi0007@xxxxxxxxxxxx> wrote in message
news:_N6dnZOqIvKHN7PbnZ2dnUVZ_vWtnZ2d@xxxxxxxxxxxxxx

But, it wasn't my conversation, so I stayed out... :) Today, I was
coding away at my new Java job, and found myself creating a setter
method...

public void setDescription(final String psDescription) {
move psDescription to msDescription
}

I got to the "c" in "msDescription" and realized what I was doing!
Oops...


Wait 'til you start writing (in COBOL...)

wsvalue = ws-number.ToString(); :-)

It took me about two weeks of intensive coding in C# before I stopped
making the kind of error you describe...

So far, it hadn't happened. Of course, I'm just starting to get into the
meat of it. Between Java and C#, though, I'd have to say I prefer C#'s
syntax, especially when it comes to properties.

Yes, me too. I hardly use Java these days.

But then, I was never deeply immersed in it. I managed people who were, and
they could achieve very impressive results with it very quickly.

I am currently grappling with remote web services for my new product web
site launch, which I really wanted to have up by the end of this month
(unlikely...). It will be a week or so yet. Yesterday, I was grizzling
because the standard web service interface that people see if they link to
the web service, does not permit testing of the service when it is accessed
remotely. (If it is connected to a localhost, it does, and I find this very
useful.) I thought I'd have to knock up a web page in C# just so I could do
remote testing of the web service. Although it isn't really a big deal, I
have so many other things to do currently (the site itself, the
establishment and installation of COBOL for the COM engine, onto the web
server, finishing the development of the downloadable client that will run
the web service, and, most importantly, continung my education in C# and
"Webarama" :-)) Anyway, the man who runs the host I'm using is a very
experienced .NET/C# guy and he sent me a C# solution in minutes, that does
exactly what I need and was about 10 lines of code. Every day I learn
something more...:-)


Our system uses Apache, Struts, and Velocity, along with Java and Oracle.
I like the way it's laid out, but there are a lot of different pieces in
different places. I'm beginning to understand MVC, but it seems that C#
is a little more straightforward in that as well.


I like the "simplicity" of C#. I think straightforward is a good word...

These days it doesn't happen... :-)

So there's hope for me yet - cool! (Of course, this will probably be my
last "hands in the code" assignment, especially if I make E-7. That'll
put me into management at that point.)

Shhhh!!! Don't tell Doc.... :-)

Pete.


.



Relevant Pages

  • RE: wse (.net) client to wss4j web service allows all passwords, why?
    ... WSE 3.0 to securely connect to my java web service. ... userid (as long as my callback method does not throw an exception). ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: [OT] Of Java and C#
    ... the book and still think it is the best "Teach Yourself Programming" book I ... Week 1 - The Java Language ... The validation engine is the heart of it, ... The next step is to wrap the engine as a Web Service and put it on a server. ...
    (comp.lang.cobol)
  • Re: Problems accessing dot net web service from java client
    ... I see many subtle differences in the wdsl files between a Sun site and a dot ... web Service experience feels like taking this on, ... As an aside, if I point the java client to a NON web service, it gives the ... "David Laub" wrote in message ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Accessing desktop COM components from Java
    ... to access the AVS web Service running on a server in San Francisco, ... from anywhere on Earth, using Java. ... coincidence I am using an IBM supplied Java software package to do it...) ... to connect to a remote webservice.... ...
    (comp.lang.cobol)
  • Re: How do you transparently implement the same web service (WSDL) with java axis and .NET ?
    ... > When I have tried to generate java and C# servers/clients from the same ... > WSDL as described further below, these are the results I have been able ... > When I try to invoke a C# web service with a java axis client I get the ... > .NET that are supporting the same WSDL and to be able to reuse client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)