Interportlet Communication Issue - Help!!

We are in the process of converting our site to 8.1 and have bumped into a problem
with the interportlet communication. We have two portlets on a page that need
to listen to each other (a Shopping Cart portlet and a Shopping Content portlet).
We have specified on each portlet that it listen to the other and while that
does fire the corresponding action on both portlets, it always fires portlet A
before portlet B, even when we take an action on portlet B.
It seems strange to me that in a listening portlet situation, it will always fire
one before the other, regardless of where the action was taken.
Any help that can be provided would be greatly appreciated!
Thanks.

Hi Paul,
I had issues with the inter-portlet communication also. From my understanding
both portlets are listening to the same outer request. For example in the begin
action method of Portlet_2 I have:
HttpServletRequest outerrequest = ScopedServletUtils.getOuterRequest(getRequest());
String param1 = outerrequest.getParameter("param1");
if (param1.equals("some_value"))
// do something
In the JSP of my portlet_1 I have the following:
<% HttpServletRequest outerrequest =
ScopedServletUtils.getOuterRequest(request);
String actionURLB = outerrequest.getRequestURI() + "?";
%>
<a href="<%=actionURLB%>param1=1 ">Do First</a>
<a href="<%=actionURLB%>param1=2 ">Do Second</a>
I don't have the Portlet_1 listening to the outer request. You may want to also
look at the example in the examples provided from BEA which kind of helped me.
However, I had problems incorporating their code that they provided even though
they work well in the BEA examples.
Mansoor
"Paul Merrigan" <[email protected]> wrote:
>
We are in the process of converting our site to 8.1 and have bumped into
a problem
with the interportlet communication. We have two portlets on a page
that need
to listen to each other (a Shopping Cart portlet and a Shopping Content
portlet).
We have specified on each portlet that it listen to the other and while
that
does fire the corresponding action on both portlets, it always fires
portlet A
before portlet B, even when we take an action on portlet B.
It seems strange to me that in a listening portlet situation, it will
always fire
one before the other, regardless of where the action was taken.
Any help that can be provided would be greatly appreciated!
Thanks.

Similar Messages

  • Toshiba 50M2U Display Issue - Help!

    Colors are not displaying correctly on our Toshiba; dark colors are replaced with a green hue. It's most noticible in the initial boot up, with the red TOSHIBA logo appearing on top of a green screen that should normally be black.
    I messed around with absolutely every setting on the tv. Tint, contrast, brightness, color, reset to factory settings, etc...
    None of it fixes the issue I'm wondering, is it the LED lamp panel that's messed up? Has anyone ever had this issue before?
    Please let me know if there's anything that can be done about it!

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (800) 631-3811.
    - Peter

  • FIX: FireWire communication issue solved - What worked for me

    After installing the iPod Updater 2006-01-10, I found that my FireWire devices (not just my iPod) no longer worked. After much messing about with all the suggestions I found online (none of which worked) I've managed to sort out the FireWire communication issues I had.
    you can read about the exact issues I had here:
    http://forums.kustompcs.co.uk/showthread.php?t=35034
    and here:
    http://discussions.apple.com/message.jspa?messageID=1562072
    Unfortunately those looking for a quick fix will be disappointed, I had to:
    a) Send my iPod Mini back to Apple, which was promptly replaced
    b) Totally re-install Windows (including drive format)
    c) Borrow the install CD that came with my friends iPod, which had a later version of iPod Updater (2005-10-12) than the one I had on my install CD, but earlier than the dreaded 2006-01-10
    If anyone needs this updater (as it's impossible to find an earlier one on Apple's website) drop me your email in here and I'll send you the web address to download it. This is basically a ZIP of the original CD, totally virus free (for those that are worried) and appears to work fine.
    If Apple have an issue with this, then why don't you fix the link on your site to this updater; this is simply my response to the complete lack of response from Apple on this matter.
    A quick note about the: 'connection rate=S100 ERROR'.
    If you discover you have this error when you test your iPod in diagnostic mode; find out how to do this here:
    http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/index.shtml
    Then it appears there is nothing you can do to fix this other than sending it back to Apple. No amount of restoring will solve it.
    I hope this helps someone out there! I've yet to fix the issue with my LaCie drive (basically it needs sending back) which if anything proves that whatever screwed my system did something to the hardware on a low level, it wasn't a Windows software issue, because after re-installing it, I download SP2 and ALL the latest hotfixes, if that was the cause, it would have done it again.
    This leaves one culprit - the iPod Updater 2006-01-10, as this was the only software I installed at the time both of my FireWire devices went down, avoid it like the plaque.
    Regards
    Matt

    After installing the iPod Updater 2006-01-10, I found that my FireWire devices (not just my iPod) no longer worked. After much messing about with all the suggestions I found online (none of which worked) I've managed to sort out the FireWire communication issues I had.
    you can read about the exact issues I had here:
    http://forums.kustompcs.co.uk/showthread.php?t=35034
    and here:
    http://discussions.apple.com/message.jspa?messageID=1562072
    Unfortunately those looking for a quick fix will be disappointed, I had to:
    a) Send my iPod Mini back to Apple, which was promptly replaced
    b) Totally re-install Windows (including drive format)
    c) Borrow the install CD that came with my friends iPod, which had a later version of iPod Updater (2005-10-12) than the one I had on my install CD, but earlier than the dreaded 2006-01-10
    If anyone needs this updater (as it's impossible to find an earlier one on Apple's website) drop me your email in here and I'll send you the web address to download it. This is basically a ZIP of the original CD, totally virus free (for those that are worried) and appears to work fine.
    If Apple have an issue with this, then why don't you fix the link on your site to this updater; this is simply my response to the complete lack of response from Apple on this matter.
    A quick note about the: 'connection rate=S100 ERROR'.
    If you discover you have this error when you test your iPod in diagnostic mode; find out how to do this here:
    http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/index.shtml
    Then it appears there is nothing you can do to fix this other than sending it back to Apple. No amount of restoring will solve it.
    I hope this helps someone out there! I've yet to fix the issue with my LaCie drive (basically it needs sending back) which if anything proves that whatever screwed my system did something to the hardware on a low level, it wasn't a Windows software issue, because after re-installing it, I download SP2 and ALL the latest hotfixes, if that was the cause, it would have done it again.
    This leaves one culprit - the iPod Updater 2006-01-10, as this was the only software I installed at the time both of my FireWire devices went down, avoid it like the plaque.
    Regards
    Matt

  • Any fix for the PC based network printer communication issue with Mavericks?

    Any fix for the PC based network printer communication issue with Mavericks?

    I just signed up for FIOS and am not experiencing your problem (had enough other ones instead).
    Go to mail preferences ~ click on a mail account ~ click on the advanced tab. The only settings that worked for me were: port 110 SSL OFF, authentication: Authenticated POP (APOP). If I remember correctly when I first set this up another window opened and I typed in my password and never had to do that again.
    Hope this helps.

  • Interportlet communication using JSR 168

    Hi All
    We are using JSR 168 portlets . My requirement is invoke the method of Portlet B on some event of Portlet A.
    I need help on the implementation of Interportlet communication using JSR 168
    Thanks

    Hi,
    Go through the below two discussions
    Interportlet communication using JSR 168
    Re: JSR 168 Portlets -- IPC with Custom Events
    Thanks,
    Venkat Sarvabatla

  • Xi3 companion box communication issues with X1 platform

    Hopefully someone has had this issue as I haven't been able to find this one during my search.   Subject: Xi3 set top boxes will not connect to the X1 platform on the same outlet(s) that my RNG150 will.   Background: 4 weeks ago a very polite gentleman working with an Xfinity subcontractor arrived at 8am to install our Xfinity package and equipment.  8 hours later he finally left.  During that time, there were multiple connectivity issues with the small Xi3 set top boxes.  The X1 platform (DVR) and modem were easily set up and tested and worked perfectly (and still do) at the main location in our great room, however, when it came time to connect the other 3 rooms (all located upstairs), there were communication issues.  As my wife set up services with Xfinity, she didn't realize we needed these extra set top boxes, so the technitian had to call and add them and only had (2) of the "new" Xi3 boxes, but had an "older" RNG150 set top box in his vehicle so we had him install that one as we didn't mind the older larger box in the rec room.  After multiple calls to trouble shoot why these two boxes weren't communicating, he apparently resolved the issue, tested the boxes and we signed off and he left.  That evening I went to turn on the bedroom tv and nothing but the red screen of death.  Error code RDK 03030.  So, I followed the troubleshooting guildlines, rebooting the platform in sequence, several times to make sure I got it right.  Still red screen.  I checked the other Xi3 box, same issue.  Since the rec room tv was still working, I just jacked that box and moved it to our bedroom.  BOOM.  Full functionality.  Only problem was the inability to access our saved programs.  So, i've been doing this for the last 4 months.  Moving the box from our room to the rec room for our little one to watch cartoons, then back to our room at night.  Suffice it to say, my wife is growing tired of this so I put a call into the technician as he wanted to make sure I call him first so the install doesn't look negative on his record.  No response.  I've been researching this for the last week and have come to the following conclusions. - Possible wire/coax issue.This seemed the most plausible, however, I was able to confirm we have the COMMSCOPE     Amp installed and the line to the X1 platform does in fact work based on the fact the older box works on the same line, so if it is some sort of wiring issue its lost at the Xi3 box or perhaps the older box requires a weaker signal to perform?  I've also seen many comments suggesting the COMMSCOPE amps are garbage.  Thats fine, but if it worked previously, and the older box works, would that still be the culprit?
    - Moca issue.I'm not entirely sure how this works, but when checking diagnostics, the grid shows 0's across the matrix.  Even with the older box active.  I'm at work currently so I cannot post the rest of the diagnostics, can provide that once I get home.- Hardware issue.  Even though these boxes worked when the technician installed and tested them, perhaps there is a hardware failure or these boxes are "bad".   Hopefully someone on here can help, I'd prefer not to have to contact customer service, follow all the trouble shooting steps I've perfomed ad nauseum and have a tech come out if possible.  However, if it has to happen then so be it. Thanks for your help in advance.

    Hopefully someone has had this issue as I haven't been able to find this one during my search.   Subject: Xi3 set top boxes will not connect to the X1 platform on the same outlet(s) that my RNG150 will.   Background: 4 weeks ago a very polite gentleman working with an Xfinity subcontractor arrived at 8am to install our Xfinity package and equipment.  8 hours later he finally left.  During that time, there were multiple connectivity issues with the small Xi3 set top boxes.  The X1 platform (DVR) and modem were easily set up and tested and worked perfectly (and still do) at the main location in our great room, however, when it came time to connect the other 3 rooms (all located upstairs), there were communication issues.  As my wife set up services with Xfinity, she didn't realize we needed these extra set top boxes, so the technitian had to call and add them and only had (2) of the "new" Xi3 boxes, but had an "older" RNG150 set top box in his vehicle so we had him install that one as we didn't mind the older larger box in the rec room.  After multiple calls to trouble shoot why these two boxes weren't communicating, he apparently resolved the issue, tested the boxes and we signed off and he left.  That evening I went to turn on the bedroom tv and nothing but the red screen of death.  Error code RDK 03030.  So, I followed the troubleshooting guildlines, rebooting the platform in sequence, several times to make sure I got it right.  Still red screen.  I checked the other Xi3 box, same issue.  Since the rec room tv was still working, I just jacked that box and moved it to our bedroom.  BOOM.  Full functionality.  Only problem was the inability to access our saved programs.  So, i've been doing this for the last 4 months.  Moving the box from our room to the rec room for our little one to watch cartoons, then back to our room at night.  Suffice it to say, my wife is growing tired of this so I put a call into the technician as he wanted to make sure I call him first so the install doesn't look negative on his record.  No response.  I've been researching this for the last week and have come to the following conclusions. - Possible wire/coax issue.This seemed the most plausible, however, I was able to confirm we have the COMMSCOPE     Amp installed and the line to the X1 platform does in fact work based on the fact the older box works on the same line, so if it is some sort of wiring issue its lost at the Xi3 box or perhaps the older box requires a weaker signal to perform?  I've also seen many comments suggesting the COMMSCOPE amps are garbage.  Thats fine, but if it worked previously, and the older box works, would that still be the culprit?
    - Moca issue.I'm not entirely sure how this works, but when checking diagnostics, the grid shows 0's across the matrix.  Even with the older box active.  I'm at work currently so I cannot post the rest of the diagnostics, can provide that once I get home.- Hardware issue.  Even though these boxes worked when the technician installed and tested them, perhaps there is a hardware failure or these boxes are "bad".   Hopefully someone on here can help, I'd prefer not to have to contact customer service, follow all the trouble shooting steps I've perfomed ad nauseum and have a tech come out if possible.  However, if it has to happen then so be it. Thanks for your help in advance.

  • Thanks to this community's help, I solved my adware problem. (Hats off to Thomas, The Safe Mac).  Now my Safari pages are taking very long to load-sometimes not at all.  HELP!

    Last night I got the community's help in eliminating [I think] my adware problem. THANK YOU Thomas and Mike! Today my Safari webpages are loading at a snail's pace, and sometimes just get stuck.  What's the problem now?

    HI Robert ...
    Might be a cache or extension issue...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, try troubleshooting Safari extensoins.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • How do i stop getting emails sent from apple community, any help please

    Hi,
    how do i stop the emails from Apple support community
    any help please!!!

    AAAARGGHH - I posted to grumble about the "new" iTunes, [which is still a load of garbage], but cos 100s of people feel the same too, my mailbox is FULL of threads to the post.
    I have reset my e-mail preferences to NO for ALL notifications, with a conspicuos lack of success. So i use a junk filter to stop them, but I ain't pleased. Can anyone explain how I can get the system to work right [I know, I can guess what you are thinking, expaecting anything from Apple to be user friendly is a long shot.... but at least on can try!]
    Thanks very much!
    richjenn13

  • Hello.I wanted to upgrade my iPad 1 to iOS 5.1 Over the Air.I was running iOS 5.0.1.It said it had an error connecting to server.It is already 5 hours i cant install this update.I also have an iPhone 4 with iOS 5.0.1 with the same issues.Help please!

    Hello.I wanted to upgrade my iPad 1 to iOS 5.1 Over the Air.I was running iOS 5.0.1.It said it had an error connecting to server.It is already 5 hours i cant install this update.I also have an iPhone 4 with iOS 5.0.1 with the same issues.Help please!

    You're probably running into the servers simply being swamped. Thousands of people are all going for the software update at the same time. Give it a try again and if that doesn't work, then try plugging it into your computer and trying it that way.
    I didn't get a notion of the size, it doesn't seem to be as big as the 700 meg 5.0 update, but it did take me 20+ minutes to download via cable internet so it's a large file. That in and of itself takes a while.
    If you're trying to download it directly to your iPhone, you'll need to be on wifi since I'm sure it's well over the 20 meg file size limit for 3G.

  • How to do interportlet communication in JSR 286 Portlet

    HI,
    We are using webcentre portlet producer appliaction  and creating JSr 286 portlets. Using Jdeveloper 11.1.8.1 .
    Now we have two portlets one is search and another is search result.
    After the seacrh is clicked DAO should get called and search result should get refreshed with the search result.
    PLease let me know how can we do this ?
    Thanx in Advance.

    Hi ,
    You can refer below links to achieve interportlet communication.
    Inter Portlet Communication with ADF portlets | Yannick Ongena's WebCenter And Enterprise 2.0 Blog
    https://www.youtube.com/watch?v=NI2Zy6gRfF4
    Thanks

  • Interportlet Communication

    Hi,
    Have a query with regards to the following.
    Appreciate if anyone could advise or correct my understanding:
    For the current project implementation, there are the following portlets from various vendors, using various implementations:
    1) A main portal, with a login portlet implemented using BEA workshop (BeeHive Apache NETUI)
    2) a shopping portlet (product A) implemented using MVC
    3) a checkout portlet (product B) implemented using JSR 168
    A typical user process will be to login, shop and checkout as in the above order.
    The 3 portlets above will need to communicate with each other.
    (a) Interportlet communication
    BEA allows these methods:
    (i) event handlers
    (ii) backing files
    (iii) refresh?
    Question 1: Are the above methods vendor-specific to BEA only?
    Note: Assume all 3 portlets are deployed locally, i.e. with not as remote portlets.
    Question 2: If yes, how can the login portlet "talk" to the other 2 portlets?
    Given that checkout portlet is implemented using JSR 168, does this mean portlet session is the only way of sharing information?
    Question 3: Can event handlers be used for IPC for this scenario, since its the most recommended way by BEA to implement this.
    Understand event handlers are defined in .portlet file. Is this correct?
    Question 4: Can both shopping and checkout portlet be "imported" to Workshop for development?
    Will both of them have .portlet file? If yes, then I would think event handler method can be used?
    Appreciate any advice or feedback.
    Thanks.

    BEA Weblogic Portal 9/10 i m using....
    I have wriiten the code to hide the page using PageBackingContext....
    PageBackingContext pbc = PageBackingContext.getPageBackingContext(getRequest());
    pbc.setvisible(false);

  • Nexus1000v - ? communication issue vcenter - N1Kv ???

    Unregulary we get these kind of alarms in our vcenter although there were no changes made on nexus or VM side.:                 
    "vSphere HA detected that host HOSTNAME is in a different network partition than the master MASTERNAME"
    They are cleared after a certain time without any manual action.VMware assumes a communication issue between vcenter and nexus1000.
    Anyone with similar experiences (or even a solution)???

    Hi Sachin,
    Thanks for your response.
    Please find my reply below:
    Is the module showing as up in the VSM when you execute 'show module'?
    >Yes the module is up and showing active when i execute the given command
    Is you ESX management VLAN allowed on the access port profile and on the uplink? Is it created on the switch?
    >Yes it is created on the vswitch as well as the upstream switches and allowed in the link also.
    Do you have system VLANs for your control, packet connectivity? For your ESX mgmt connectivity?
    > Yes i had defined control, packet and management vlans as system vlans.
    I feel that the port profile is not allowing the traffic to go in and out from the DVS.
    When i change the uplink of VSM from vswitch to DVS then the VSM doesnt reach gateway itself.
    Thanks,

  • Recently i upgrade my iPad2 to 7.1(11D167) and now the wifi connection is very weak, I am not sure if it is a hardware or software issue, help please!

    Recently i upgrade my iPad2 to 7.1(11D167) and now the wifi connection is very weak, I am not sure if it is a hardware or software issue, help please!

    I am not sure, I have full signal on my iphone 5  and just 1 dot on my ipad, tomorrow I will test connection with other router and network, I thank you for your help and I will tell you the test result when done

  • Ethernet Communications Issue

    Hello list,
    I have an ethernet communications issue.
    We can communicate with our products using two communications modes, ethernet, and a proprietary CAN. For the ethernet connection, I have a router that assigns a DHCP address to the product (169.254.130.005). For the CAN connection there is a hardware ethernet to CAN adapter that has an assigned address of 169.254.130.006.
    Below is a simplified example of the code I use to talk to the product. (there is only one loop...two loops are shown. One showing the True Cases, one showing the False cases.
    So I set the I.P. address, set "Connect?" to true, and run my code for a while. I then set "Connect?" to false, change the I.P. address, and then set "Connect?" to true.
    What I have found is that the "TCP Close Connection" does not actually close the connection, and the "TCP Read" and "TCP Write" are reading and writing to BOTH I.P. addresses simultaneously! (confirmed by using Wireshark). I don't understand how this can be since I only have one TCP Write and one TCP Write, and see only one "Connection I.D." when I probe that wire.
    Am I not closing the connection properly? Do I have to kill the connection ID in Windows somehow?
    Any ideas would be appreciated.
    Thanks in advance,
    Mike
    Using Labview 8.2
    Windows XP
    Attachments:
    Ethernet Issue.JPG ‏274 KB

    Nathand,
    The code shown is a simple representation of what I'm doing.  I guess it wasn't clear.  The switch is connected to a shift register to compare the previous & current loops itterations and only opens one connection "on change" of the "Connected?" input.  (that is confirmed with Wireshark).  Also, the product tells me that I have made only one TCP/IP connection on each IP address.
    I pass the Connecion ID that is created out the right side of the loop and into the left with a shift register when the connectionis made...so the same Connection ID is used for each read/write.  What I'm not understanding is how I can see only one Connection ID on the wire but a read/write to both I.P. addresses with only one one read and one write in my code.
    Any other ideas would be appreciated.
    Thanks,
    Mike

  • About the communication issues in the client-server program

    About the communication issues in the client-server program
    Hi, I have some questions about the communication issues in a java project, which is basically the client and server architecture. In brief, the client, written in java, can be deployed anywhere, and in the following part, assume it is in the LAN (Local Area Network) which is connnected to the internet through the firewall and/or proxy, and the server, written in
    java too, simply provides the listening service on a port in a remote machine. And assume the server is connected to the internet directly so that the scenario can be simple to focus on the core questions.
    My questions are as follows:
    1 About the relationship between the communication port and protocol
    Generally, protocols at the application level like HTTP, FTP have their own default port, e.g., HTTP is corresponding to 80,
    FTP is to 25. But it is NOT necessary for the web server to provide the HTTP listening service at port 80, right? E.g, Tomcat provides the HTTP listening service at 8080. So it means the default relationship between the application protocl and their port is some routine, which is not necessary to follow, right?
    2 Assume a LAN connected to the internet through a proxy, which only allows HTTP protocol, then questions are:
    2.1 Does the proxy recognize the HTTP request from the client by the port number (carried in the request string)? For example, when the server provides the HTTP listening service at 80, then the request from the client will include the port number 80, then the proxy will parse such info and decide if or not the request can be out.
    2.2 Does the proxy recognize the HTTP request from the client by protocol (carried in the request string)? For example, the protocol used in the communicatin should be included in the request, then the proxy can parse it to make the decision.
    3 In java programm, if using the HTTP protcol, then on the client: the corresponding API is java.net.URLConnection, right?
    If using the TCP protocol directly, then on the client:the corresponding API is java.net.Socket, right? In both cases, the server side use the same API, java.net.ServerSocket?
    Is it correct to say that the communication by Socket is faster than URLConnection?
    4 Take MSN messenger for example, which protocol does it use? Since proxy configure is only the possible option, so I guess generally the TCP protocol is used directly so that the better perfomrance can be achieved, right?
    5 Given 3 computers within the same LAN, can the client, proxy, server environment above be correctly simulated? If so, can
    you recommend me some typical proxy program so that I can install it to configure such an enviroment to perform some test?
    6 I guess there should be some software to find out which port number a given program/process is going through to connect to
    the remote machine, and which port number a given program/process is listening on? Also, what protocl is used in the given
    communication.
    7 Finally, regarding each of the above questions, it will be highly appreciated that if you can recommed some references,
    tutorials, books etc. In summary, what I care about is how to enable the java client behind the proxy and firewall to
    communicate with the remote server without problems, so if you know some good tutorials plz let me know and thx in advance!
    Finally, thanks for your attention so such long questions =).

    FTP is to 25. But it is NOT necessary for the web
    server to provide the HTTP listening service at port
    80, right? E.g, Tomcat provides the HTTP listening
    service at 8080. So it means the default relationship
    between the application protocl and their port is
    some routine, which is not necessary to follow,
    right?Not sure what you're saying here.
    There must be a server listening on some port. The client must know what port that is. If you open the connection using the Socket class, you'll explicitly specify the port. If you use some higher level class like URLConnection or something in the commons Net package, there's probably a default port that will be used if you don't explicitly specify another.
    There's no way for the client to know that the HTTP request will go to port 80 instead of port 8080. If you think the the client contacts the server without explicitly naming a port, and then asks the server "get me your HTTP server", and the port is determined from that, you're mistaken.
    Not sure if you're thinking that, but it sounded like you might be.
    2 Assume a LAN connected to the internet through
    a proxy, which only allows HTTP protocol, then
    questions are:
    2.1 Does the proxy recognize the HTTP request
    from the client by the port number (carried in the
    request string)? For example, when the server
    provides the HTTP listening service at 80, then the
    request from the client will include the port number
    80, then the proxy will parse such info and decide if
    or not the request can be out. I'm not sure, but I think most proxies and firewalls are configured by ports. I thought I'd heard of more sophisticated, higher-level ones that could understand the content to some degree, but I don't know anything about those.
    3 In java programm, if using the HTTP protcol,
    then on the client: the corresponding API is
    java.net.URLConnection, right?That's one way.
    You might want to look into this:
    http://jakarta.apache.org/commons/httpclient/
    If using the TCP protocol directly, then on the
    client:the corresponding API is java.net.Socket,
    right? In both cases, the server side use the same
    API, java.net.ServerSocket? A Java client will user Socket, and a Java server will use ServerSocket and Socket.
    Is it correct to say that the communication by Socket
    is faster than URLConnection?Probably not.

Maybe you are looking for

  • Hp 1100 laserjet printer driver for windows 7

    How to install Hp 1100 printer in windows 7?

  • How to write '\n' in text file instead of newline

    Hello Everyone, I am trying to write 'C:\DOCUME~1\nXXX\LOCALS~1\Temp' in a bat file using client_text_io but *'\n'* in the path is taken as a new line character and the path is broken into two lines and written to the file. Hence my bat file doesnt w

  • I have updated my C5380 with the latest drivers etc.

    I want to print on a cd and only have text, I do not want any of the designs that you have in the program. Before upgrading?? I could do just that. Can you help. Also i would like to have the ability to have the RTF and HTML and TXT file formats avai

  • Photoshop Opens After I Quit the Program

    Everytime I quit one of my adobe products, it automatically opens again. I use the force quit a couple of times before the program stops opening. How can I fix this?

  • Save Local file Option Disabled

    Hi All I have done the ALV Report and i am used 'REUSE_ALV_GRID_DISPLAY' Functional module. after Execute the Report System --->List------> Save-----> Local file (Option is Disables ). How can i corret This... Rgds PP