Learning Java proxies - landscape question

Hi guys,
I could use a little help to learn Java Proxies, I'm just starting to get familiar with Java, I'm coming from the ABAP side.
First and foremost what do I need from the system point view?
We have an XI box and using file/FTP/IDoc adapters and also ABAP Proxies, I wrote some Java (mapping)functions, I am familiar with these.
But for a Java proxy, I would need a separate Java server(?) to run the application on, is this correct?
Can I use my own PC for this? (for learning purposes), I have NWDS installed on my PC.
What are the steps to write a small simple Java Proxy.
I would very much appreciate some help, guys, how do I start?
Thanks a lot,
Viktor

Hi Viktor,
You can work from your own machine. Becuase in Java Proxy scenarios, you are deploying EAR files in the XI server, and thru XI , you are executing the method written in the Java Application.
Just check these links-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
Demo ~
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken]
Hope this helps,
Regards,
Moorthy

Similar Messages

  • Java Proxies Inside Story Example: questions

    Hi,
    I've tried to implement the example of the document "Java Proxies and SAP XI - The Inside Story, Part II". Actually it's not running and I don't know why. Maybe anybody of you already implemented the described scenario successfully and can support me here:
    InvokeProxy.jsp
    - in the first code line, why is is import="http2Db.ProxyCall"? When I have a look at the coding, I think it should be import="http2Db.InvokeProxy"?
    I've created the EAR project and deployed it to the J2EE Engine. When I try to test the scenario invoking the JSP side I just get back "The page cannot be displayed", the normal browser exception message. How can I check what goes wrong? Here I'm wondering that the Send Button of the HTML form in the JSP page invokes the function proxyfun(). That function itself has the following codeline within:
    document.frm_proxy.action="ProxySender.jsp"
    What's that for a jsp page? I cannot find it in the "Java Proxies[...].pdf"?
    BR
    Dennis

    up
    Has nobody tried this scenario before? Cannot imagine as it's always mentioned when there's a question concerning java proxy implementations as a reference
    I mean the following documents:
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9

  • Im Trying To Learn Java :o(

    Hey All,
    I have decided to get my mind active and randomly learn Java. I say randomly because i am going to be a student again in IT but i like the kinda 3D side and modelling and nice pictures and flash actionscript lol not all this stuff.
    Anways i would just start by saying that Java offends me massivly, i know something happened with M$ and Sun and ever since then all i have had with the sun download is problem after problem and crashing and all iw as tryin to do was play some Jippii games. This aint a recent problem, it always happens and i must have reformatted xp around 7 times. So i stay away from applets!!!
    Anyways in 2002 when i started learning Flash it was because i seen a site i liked and wanted to do that. The equivelent is kinda like me saying "OK GUYS I HAVE JAVA NOW HOW DO I MAKE DOOM" anyways 2 and a half years later im happy with what i can do and have used alot of different apps and learned alot from 3dsmax to aftereffects etc.
    Anyways my goal out of this whole Java thing is to make a game like one i used to play when i was younger on the Amiga 500. No where has this game and a modern one would be great to play. The graphics suck but the physics were really nice.
    So my questions are:
    1) Java. Ok im going to be honest, i know nothing about Java, i dont even know if it can do what i want and what i really dont want is to spend a while learning this to be stuck with no effects for my game, ie are small particle effects possible in Java? I know Java is pretty slow for a proper language compared to C/C++ but how slow? Can you shift a hundred particles around the screen and still add physics in the background?
    2) Java. The whole thing confuses me massivly. Im not a big posting person as i tend to prefer searching but i dont even know where to begin. I will bite the bullet and say i aint going to have alot of problems with the syntax of the language itself. It all looks kinda how i expect it, obviously i dont mean i aint gonna have problems and lot of them but it is not REALLY alien to me to look at a bit code. At the same time it is. I need to know alot of stuff, things that the 2 ebooks i have just ignored. For example, when i compile something, i thought that meant it compiled to the EXE but infact it turned my "heyworld.java" into a "heyworld.class" file. This just makes no sense to me atall because i HATE command line stuff, i see it as reinventing the wheel so im trying to follow through on first of all netbeans (an that went off almost instantly) and a free one that got my hey world to work (well, class). I need to know if a compiler dont make a exe then whats the class for and what exactly is a class file. You know just stuff like that? Does anyone know i kinda dictionary so to speak? baby talk i mean, so far all i seem to get is explainations with words i dont understand.
    3) How difficult is it to make a 2D game in Java? To make this plainer, i aint having an applet run somewhere, i want a nice downloadable exe. Of course i will need to start at the beginning but i mean to get a ship on the screen with keys to move it and a "cave" roof to crash into, is this going to take a long long long time to get to that stage? You see, as i said before unless after a few days i have a object on screen to work with, i just get too bored to continue. for example "the object of this is to make a red circle move across the screen" REALLY interests me where as "today we are going to make a mock system for a small business user" sends me back to 3Dmax and the lighting i was reading about lol I tend to look at a piece of code and be devestated by its complexity then try and make it make sense over time. Is this possible with Java? It does work for me this, i was picking apart a isometric code in actionscript before i knew what a tween was.
    4) Theres so many different J*** J"EE things floating around that i dont actually know what one i am meant to use? I got 1.4.2 i think but thats all i know. Id like any other things that helped yourselfs start off in Java?
    Sorry to go into a bit detail here, its just that with this degree im starting, it soon branches off into 2 groups. Programmers and Designers. I feel i know the design side well enough to make a comparison but it would be rude to leave this side of the things out and write it off without atleast giving it a shot.
    Thank you very much for your time :o)
    Kind regards,
    Clarky.

    If you want an idea of what's possible with Java, do a google search for "java games" or something like that. I've seen occasional postings of what are supposed to be pretty cool games that have been written in Java, but I'm not into games, so I've never bothered to check 'em out personally.
    As to whether you can do it, well, you'll have to figure that out. Learning Java well enough to create a video game is not a trivial task. I don't just mean the syntax of the language, I mean the many APIs you'll be using, concepts like multithreading and exception handling, good OO principles, etc. Without a good handle on that stuff, your code will quickly turn into a morass that will be difficult to enhance, maintain, or debug.
    I suspect that the code to make a particular graphical event occur will be more verbose and complex in Java than in ActionScript, given that Java is a general purpose language and AS is more geared to GUIs. Nonetheless, I'm sure there are APIs out there (some free, some not) that will provide some higher level constructs than the core APIs to make some of that easier. You'll still be operating in the idiom of a general programming language though.
    There may also be a hybrid solution available--where you use Java to express the game logic and another language to express the graphics. I don't know anything about this kind of stuff though, so that's just speculation.
    You may get more precise advice in the GUI Building forums on http://forum.java.sun.com/ than here.
    Here are some resources to get you started on Java in general.
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.

  • For all the newbies who wants to learn Java

    I was a newbie like 4 months ago. i have some skills of OOP in C++ like 2 years back but since then i did'nt took any of programming language courses. I have experience in MSaccess and MYsql. i did my internship Last summer with Tennessee Education Lottery as a Database Analyst. At that time i realized what a Corporate Enviorment looks like. Trust me it was a formal interview and i passed it and they placed me in the IT department to write some scripts for the GUI terminal and at the same time create a Company Security Database. i did completed my project but i had to Learn Mysql. and then i realized Java was getting very popular. alot of people told me in the forums to go Java tutorial but i will not agree to start from the sun tutorial. you can do it only if you have a good or may be medium experience of OOP. it was really tough for me and then this magic guy came on the forum and told me to go on this website if you want to learn Java.
    http://chortle.ccsu.edu/java5/cs151java.html
    This site is a brilliant site specially the exercise problems and the quizes really attracted me to Java alot and now i came to realize how easy it is to program in Java rather than C++. Java forums have helped me alot in solving those exercise problems (not with the code but with a good explanation) which was very helpful for me. out of my 210 post i guess i have helped 30 people out and the rest of the questions are regarding those exercises. i came to know encapsulation, inheritance and all that stuff. though i am still not very perfect like i am still having trouble with ComparTo thing but it takes more practice. the more you practice the more you learn. so all the newbies if you really want to learn java even if you dont have any experience in OOp this is the site where you need to start. Hope this will definitely help you alot. thanks to all the Senior members navycoder, captain, paulcw, duffy, turingpest and others also who have helped me in the past. without you i would have not achieved the goal of learning java. now my next step is going to be learn GUI programming Swing. looks fun to me. but at the same time i have my final project for this semester to make on ONline Testing program which will have a database, php scripting and html and xml.
    I will post if i have any problems

    I was a newbie like 4 months ago. i have some skills
    of OOP in C++ like 2 years back but since then i
    did'nt took any of programming language courses. I
    have experience in MSaccess and MYsql. i did my
    internship Last summer with Tennessee Education
    Lottery as a Database Analyst. At that time i
    realized what a Corporate Enviorment looks like.
    Trust me it was a formal interview and i passed it
    and they placed me in the IT department to write some
    scripts for the GUI terminal and at the same time
    create a Company Security Database.Wow they really must like to gamble if they put you in charge of a security database - no offense meant, but that isn't the sort of thing you would want a brand new person working on, unless of course they were giving really high odds ;-)

  • How did YOU learn Java?

    Ok, two part question and a bunch of help for this Java newbie:
    1. How did you learn Java? Online tutorials, books, discussions, a game, or a class? Be specific and think back to when you looked at a Java program and went "wtf?"
    2. How do you keep up the new versions and therefore, useless older classes? I am reading the list on JDK 1.4 and just thinking, how could I remember all of this? If I'm used to programming one way, how can I relearn for every version?
    If I could just get some honest answers and opinions, it'd be greatly appreciated, Thanks!

    Get this:
    I originally 'learned' Java from "Java Made Simple" by Peter McBride. "Made Simple" is right: having finished this book, I had no idea that you could design your own classes for use by other classes! All my methods were static, I'd never written a constructor or instantiated one of my own classes, and my applications were all contained in a single class! I had only the vaguest notion of what "object oriented" meant, and I wondered why, for example, you had to say
    Integer x = new Integer(4);
    but not
    int x = new int(4);
    The book was intended, I think, for non-programmers who have been given some free space by their ISP to design a web page, and want to add some v. simple applets for decoration. Beware of books like this if you want to learn Java in a serious way.
    For a more positive tip, I recommend Sun's very own online Java Tutorial. It covers all the key topics thoroughly and clearly, so at the end you have a good understanding of Java (More than just the basics, I'd say). If you want to move on to more advanced topics this tutorial will probably stand you in good stead (I can't be certain as I haven't moved on from here yet myself), but if you don't you will still be able to write good amateur programs.

  • What is the best way to learn Java? I am a complete spacker?

    Hi,
    Please can someone point me in the right direction on how to learn java properly, I was just browsing the Sun website and came across; [http://uk.sun.com/training/catalog/java/packages_java.html?gclid=CO2-6YrWu5kCFUsI3wodZ1qI5g]
    Who are these packages aimed at? I was looking at the top one; Entry Level; Sun Certified Java Associate.
    Thanks.

    I am a complete spacker.
    Please can someone point me in the right direction on how to learn javaWith an admission like that, what makes you think that anyone would want to "point you in the right direction", so that you might, one day, if things go to plan, be the "spacker" (as you so eloquently put it) sitting next them, asking gumby questions all day, spounging ideas, and doubtless claiming much more than your fair share of the credit, and the donuts.
    Yep, I'm fixated on the donuts. They're very nice ;-)
    Now... what where you saying?
    I was just browsing the Sun website and came across; [the training catalog|http://uk.sun.com/training/catalog/java/packages_java.html?gclid=CO2-6YrWu5kCFUsI3wodZ1qI5g] and was looking at: Entry Level; Sun Certified Java Associate.
    Yep that'd be the one to aim for when you're starting out... Personally, I recommend you give the whole certification thing a miss (at least for now) and just get into the tutorials, and grab some books (there are some really excellent ones) and just write some programs... at least until such time as you feel confident enough in your chosen field of endevour to not even consider intruducing yourself as "Hi, I'm a complete spacker"... I'll bet you're a real hit in job interviews. Good grief!
    Cheers. Keith.
    Edited by: corlettk on 24/03/2009 23:56 ~~ Clearer.

  • ABAP & JAVA Proxies

    Hi Experts,
    Can any one please tell me what are the prerequisites and connection settings that needs to be taken care while developing the ABAP/JAVA proxies.
    Thanks in advance.
    Regards,
    Shaily

    Hi,
    Find below link for more help on proxies configuration
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii

  • Is it worth to start learning Java

    Today I saw a post in JavaRanch (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=33&t=017317). A guy asked a question for his friend about STARTING to learn Java NOW. Actually, I heard quite same question from people around myself.
    For myself, I've been working on Java more than 7 years(already SCEA, hehe). However, the Java passion is getting away ;-((, I am looking around for other stuff like Ruby.
    I have same confusion as that guy, and I'd like to learn from you guys for same question - for the current market situation, it is late/okay to touch Java?

    thank for all the input.
    my concerns are, particularly for newcomer, the
    learning curve and the market trend.
    my understanding is Java is losing its powder in web
    application development comparing with other emerging
    language like Ruby/Python, conversely, Java's powser
    is going to server side(business/integration layer).Don't be so sure about that.
    Java's not losing powder [sic] in web app development. It's mature and considered a standard for enterprise scale problems. Ruby and Python are gaining traction for smaller CRUD-like Web apps, but neither is up to snuff in the areas of security and transactions. Ruby is gaining popularity because of Rails, which makes creating simpler web apps easy.
    Criticism of Java for complexity and a dearth of tools is fair. But are Trails, Grail, and AppFuse strong enough answers to Rails such that Java EE can be more agile for smaller apps? Time will tell. I think Spring and Hibernate are helping a great deal, more than EJB 3.0 will.
    everybody knows it is hard thing to learn java,It's hard to learn anything, period. Programming in any language is a long learning curve, because it's so much more than just language syntax. You don't do enterprise apps just by learning Java, even if you stick to the EE platform. You have to know SQL and relational databases, messaging, XML, HTML, JavaScript, HTTP...the list is pretty long. All those technologies carry over to .NET and Ruby and anything else, so it's not just Java that's complex. Enterprise problems are complex.
    And once you know all that, there's the problem of designing elegantly. It's a long climb no matter which language is on top.
    regarding to server side programming for a java
    newbie, it would be much harder to learn, further, it
    will take you long long time to learn server side
    java programming.
    however, the job market (java) is still hot, and
    seems to keep hot. and people still wanna jump in.It's still good, just not crazy like it was at the end of the 90's. There is the problem of competition from China, India, Vietnam, etc. that won't go away. But what field hasn't been affected by global competition? Only those areas where you have to touch the client, like auto mechanics. Even medicine has been affected - x-rays can be read anywhere in the world.
    So, still confused to tell people whether or not to START java...;-((If you like programming, jump in. Learn Java, but it's more important to learn those bedrock technologies (e.g., data structures, compilers, parsers, finite automata, decomposition, relational databases, etc.) and learn how to learn. Languages will come and go. When I jumped into this field ten years ago C++ and Corba were the rage and Java didn't exist. Now I make a living writing Java. I'm reading about Ruby and Rails now, just dipping my toes into the water.
    None of us are any better prophets than you are. I don't know what will happen or if Java will still be here ten years from now. COBOL and FORTRAN were born in the 50s, and both are very much with us today.
    Just stop whining about it. Do what makes you happy, and stop worrying about what other people think.
    %

  • About learning java 3d

    hi dear,
    I am doing a java 3d learning website. I need to get some information form 3d learners. Could you help me to answer three questions below? Thank you so much.
    1)Did you have any problem in set up 3d working environment? What are they?
    2) When you learn java 3d which part do you think is the most difficult part?
    3) What information would like to see in a java 3d learn website?

    1) Du have any problem in set up 3d working environment? What are they?
    Done it many times over the last few years, so I don't, but from what I can tell a lot of people don't understand the basic Classpath stuff.
    3) When you learn java 3d which part do you think is the most difficult part?
    Learning to do things the Java3D way seems to throw a lot of people - explaining why you should only update the scene using behaviours, how the scenegraph works and so on would, I think, be very useful to a lot of people.
    Vectors, Matrices and the underlying mathematics would also be very useful, although I don't know they can ever be made simple.
    3) What information would like to see in a java 3d learn website?
    I need to know more about model and animation importing and management, but I'm probably not your typical user.
    I'd find a comprehensive set of links to tutorials would be very helpful too- there are a lot of them around the place, but I've not found anywhere that authoritatively lists all the available tutorials - maybe with a bit of information on what they cover and how up to date they are.

  • Register Client Java Proxies to Proxy Server

    Hi All,
    Is it required to register the client java proxies with the proxy server?
    Thanks in advance

    lol Some people dont know how to give the correct links as well.
    Next wiki --> how to give correct links for questions asked on SDN.. will be a huge hit I guess

  • Learning Java SE 7 / Newbie

    Dear Java Community,
    I'm real life I find that most professional programmers are rather selfish or inpatient personality types, and I'm interested in learning Java, and possibly becoming a good programmer. It's just a personal hobby, and something that's mostly an intellectual pursuit. My question is this, how do you compile a folder filled with Java files ? There are 27 files in this particular folder. Half are .java files. The others are .class files.
    I really want to learn how to program, but as I read all these programming textbooks, they're good (conception-ally speaking), and give you nice gold nuggets of information. But I don't know how to bridge what I want, which what I need to learn, in order to accomplish it. I know that don't become a master overnight, and I guess the question should further be, how long will it take me to actually learn to program Java 7 ?
    How do I compile all these files ? I downloaded the free source code from Planet Source Code, but I think these are rather old programs, and maybe they're not backwards compatible. Since I can't find anyone with enough patience to teach myself, then I'll just have to teach myself. But I learn best through backwards engineering. I need to know why this does that, and why that does this.
    Can someone help ?
    Edited by: user13816154 on Jan 24, 2013 9:10 PM
    Edited by: user13816154 on Jan 24, 2013 9:11 PM

    First of all don't blame all professional programmer.This is not right place for it
    Second this category is spcly for Jdeveloper and ADF. IF you have any question regarding you can put in right category.
    Regarding learning java and becoming master.I wil suggest you to step by step.Don't download free code from some site and execute it.First write small program then gradually raise ur level.Within 2 or 3months you will bw confident about java.
    There are lot of other place you can ask about ur java question

  • How to Create JAVA proxies in PI 7.1 using NWDS

    Hi PI SDNers,
    Please guide me on "how to create JAVA proxy in PI 7.1 using NWDS". I used to create java proxies from Integration build tools->generate Java Proxy in Pi 7.0/XI3.0; Please advise me.
    Thanks in Advance...
    Ravi Kanakam

    Check if these threads help you:
    Java Proxy with NWDS 7.1
    Re: Java Proxy & NWDS
    Regards,
    Abhishek.

  • Java Proxies in PI 7.1 SP7

    Hi,
    we are trying to work with java proxies, (we are using PI 7.1 SP7)
    while generating the proxies using Tools->Java Proxy Generation, below message gets displayed:
    There are two versions of Java proxy generation that differ in the programming model:
    1. The Java proxy generation in the ES Builder that will not be supported in later releases. It is only to be used for small adjustments of service interfaces in the ES Repository that were created because of the automatic migration of message interfaces of an Integration Repository (XI 3.0 or SAP NetWeaver 7.0) in the ES Repository. The Java proxes created with this proxy generation support the same programming model as in XI 3.0 and SAP NetWeaver 7.0.
    2. The Java proxy generation in SAP NetWeaver Developer Studio that you use for new developments or for larger adaptation sof already existing service itnerfaces. The Java proxies created using this proxy generation introduce a new programming model.
    what is the meaning of this message?
    is it not recommended to create java proxies in PI 7.1 using ESR->Tools->"Java proxy generation". is there any different procedure for  pi 7.1 java proxies.
    thanks,
    Madhu.

    > what is the meaning of this message?
    > is it not recommended to create java proxies in PI 7.1 using ESR->Tools->"Java proxy generation". is there any different procedure for  pi 7.1 java proxies.
    Yes. That is correct. You should use the Java Proxy Generation inside ESR only for updates of migrated PI 7.0 Java Proxies.
    For new development use the Java Proxy generation of the NWDS. This will create EJB 3.0 proxies which are incompatible to PI 7.0 Java proxies. Java proxies created inside NWDS can run on any SAP Java system 7.1, an adapter engine is not required.
    Regards
    Stefan

  • Java Proxies from PI 7.0 to PI 7.1

    HI Friends,
    I have inbound java proxies and java mappings involved in my interface flow.
    we are migrating from PI 7.0 to PI 7.1.
    Can any one please suggest if any things need to be done to migrate from 7.0 to 7.1.
    i mean any code changes or any libraries need to be imported...
    Thanks,
    Madhu.

    Hi Madhu,
    > Can any one please suggest if any things need to be done to migrate from 7.0 to 7.1.
    > i mean any code changes or any libraries need to be imported...
    No need to change the java code, but you have to redeploy the java proxy.
    Check 29th page onwards
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8085e299-718c-2a10-de94-928f62b763ce?quicklink=index&overridelayout=true
    Regards
    Ramesh

  • Java proxies in PI 7.1 - Requesting ACKs

    I've just found this [guide|http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/40a0868a-9d40-2b10-8cb4-8e0c53b56655&overridelayout=true] in SDN with these quotes:
    - New Proxies have to be created in NetWeaver Developer Studio
    - Some JPR 3.0 classes are not available for JEE 5-based proxies, for example
    com.sap.aii.proxy.xiruntiume.core.MessageSpecifier
    - XI 3.0 proxy-specific features (like acknowledgements) cannot be used
    So it seems that the new Java proxies do not allow acknowledgements.

    > what is the meaning of this message?
    > is it not recommended to create java proxies in PI 7.1 using ESR->Tools->"Java proxy generation". is there any different procedure for  pi 7.1 java proxies.
    Yes. That is correct. You should use the Java Proxy Generation inside ESR only for updates of migrated PI 7.0 Java Proxies.
    For new development use the Java Proxy generation of the NWDS. This will create EJB 3.0 proxies which are incompatible to PI 7.0 Java proxies. Java proxies created inside NWDS can run on any SAP Java system 7.1, an adapter engine is not required.
    Regards
    Stefan

Maybe you are looking for