Right way to configure TC
Hi,
I recently bought a TC 3rd gen with 2 TB HD.
I have a wi-fi router (d-link dir 635) pluged into my brother's room wich is connected to the cable modem.
The TC is located in my room and intend to extend my wirelless conection. What is the best setting to do that?
Is it possible to creat, by this way, a guest network?
Thanks
Unfortunately, the TC is not compatible with the D-Link router if you are trying to connect using wireless only and extend the network.
The TC will need to connect to the D-Link wireless router using an Ethernet connection....either a wired cable or via a pair of Ethernet power line adapters.
The Guest Network option is not available in this type of configuration. In order for the Guest Network option to appear, the TC would need to be the device that is connected directly to the cable modem.
Similar Messages
-
Right way to configure Tomcat JDBC resource for MaxDB
Hi,
i need to configure one tomcat server with a pool of connections for a MaxDB instance with follow database parameters:
MAXUSERTASKS=150
SESSION_TIMEOUT=60
i do this configuration on tomcat:
<Resource name="jdbc/myApp"
auth="Container"
type="javax.sql.DataSource"
username="DBUSER"
password="secret"
driverClassName="com.sap.dbtech.jdbc.DriverSapDB"
url="jdbc:sapdb://dbserver/DBNAME"
maxActive="150"
maxIdle="75"
validationQuery="SELECT NOW() FROM DBA.DUAL"/>
is this the right way? there is a way to check if the pool is working at database side? at java side i checked that the javax.sql.DataSource.loginTimeout is Unavailable, then what is the better way to avoid errors like:
2008-06-02 13:54:36 2165 WNG 11824 COMMUNIC Releasing T187 command timeout
i think that this problem occurs because the SESSION_TIMEOUT is 60, and the loginTimeout is Unavailable at javax.sql.DataSource then the DBCP of tomcat dont know when need to revalidate the session.
thanks for any help.
ClóvisHi Clovis,
to be honest, I'm no Tomcat expert at all. All I can do is read the documentation.
The error message you posted was about an timeout due to a too long idle session.
From the changes in your connection pool setup I cannot see any parameter that would influence this.
Instead - as already written - you may either want to change the session timeout in general, for the user or (by adding some connection parameters) for the sessions.
Concerning the question on wether it's better to have many connections or just a few - well this depends on what the java tasks do with the sessions.
The connection pool is used for saving resources on the database side and the time necessary to logon and create a session.
So whenever any of the java tasks needs a db connections it should "just get one" from the pool.
When you have "high load" (by the way what exactly does that mean? High CPU usage on the J2EE server? Huge transaction volume? Many parallel transactions?) this does not change.
Anyhow you have to be aware of the fact that the database can only process as many SQL requests in parallel as there are user kernel threads (UKTs) and each of the UKTs need to be able to run on a seperate CPU core. Therefore if it's necessary to have real parallel SQL activity many connections may not be the best idea.
On the other hand this requirement is seldom necessary - most often sessions can wait a bit until they get the reply from the database and synchronize on each other later on. At least that's how we do it with NetWeaver.
KR Lars -
Right way of configuring higher MTU over a Port Channel
Hi guys,
I have a running critical Port-Channel between two locations.
Here's the config
SW1:
interface Port-channel2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
end
interface GigabitEthernet1/45
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
end
interface GigabitEthernet1/46
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
end
SW2
interface GigabitEthernet1/1
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 2 mode passive
end
interface GigabitEthernet1/2
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 2 mode passive
end
interface Port-channel2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
end
Now I need to increase the MTU from default value to 9198. What the right way to do it and avoid any connectivity loss, PortChannel restart.
Does it matter what switch I start first?
Thanks!
L.E. both SW are WS-C4948Hi,
Because you are using layer 2 interfaces - there is no fragmentation support at layer 2, and interfaces receiving frames which have an unsupported size will be dropped.
I think the best way for you to proceed is to lab this up; and verify what happens - it may be that you need to make changes on switches at either end of the channel within a very short time frame to prevent too large an outage.
When you are ready to maike your change - think the best way to do this is to use the interface range command, and apply the 'mtu' command to all the interfaces in this range. I don't think it matters which switch you apply this change to first, and I don't believe if you are hinting at the 802.3ad (controlled by system-priority) decision maker, that it makes any difference.
HTH
Mike -
Is this the right way to configure WPA2 on 1131 AP?
Hello everyone.
I, at work, have recently deployed a very small stub network in Papua New Guinea, an office that has no more than 7/8 users. This simple network consists of:
1 x 2611xm Router
1 x 2960 24port Catalyst Switch
1 x 1131ag AP
1 x Dell Server used for WSUS and Anti-Virus updates for users on the LAN.
NO VLANS - all connect to default vlan1
And that is it, no individual DNS/DHCP/Domain servers, or Radius/Authentication servers for that matter.
Originally we deployed WEP on the AP, but today I configured WPA2.
That said, below is my AP config, and just looking for confirmation if its correct, or needs further improvement (remove any unnecessary commands)?
The switch has no additional VLANS configured, the link between the switch and the AP is NOT configured as trunk.
The router does not have additional sub-interfaces. Simply put, fa0/0 goes to the public internet, fa0/1 goes to the inside switch.
Please note that wirless connectivity works OK, there are no issues, but i feel like i may have more unnecessary steps in my config than needed.
Thanks for your guidance and support.
Current configuration : 2583 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname WCS_GorokaAP
logging rate-limit console 9
enable secret 5 <removed>.
no aaa new-model
ip domain name <removed>
dot11 syslog
dot11 ssid wcs_goroka
vlan 1
authentication open
authentication key-management wpa version 2
mbssid guest-mode
wpa-psk ascii 7 <wpa key>
bridge irb
interface Dot11Radio0
no ip address
no ip route-cache
encryption vlan 1 mode ciphers aes-ccm
ssid wcs_goroka
mbssid
channel 2437
station-role root
interface Dot11Radio0.1
encapsulation dot1Q 1 native
no ip route-cache
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio1
no ip address
no ip route-cache
encryption vlan 1 mode ciphers aes-ccm
ssid wcs_goroka
dfs band 3 block
mbssid
channel dfs
station-role root
interface Dot11Radio1.1
encapsulation dot1Q 1 native
no ip route-cache
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
interface FastEthernet0.1
encapsulation dot1Q 1 native
no ip route-cache
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 192.168.15.241 255.255.255.0
no ip route-cache
ip default-gateway 192.168.15.254
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
bridge 1 route ip
banner motd ^C
* This is a secured Access Point. Unauthorized logins are strictly restricted. *
^C
line con 0
password 7 <console password>
logging synchronous
login
line vty 0 4
exec-timeout 30 0
password 7 <telnet password>
logging synchronous
login
transport input telnet
line vty 5 15
login
endthats correct.
keep this link as reference:
http://www.cisco.com/en/US/partner/tech/tk722/tk809/technologies_configuration_example09186a008054339e.shtml
http://www.cisco.com/en/US/partner/products/hw/wireless/ps4570/products_configuration_example09186a00801c40b6.shtml
Please make sure to rate correct answers -
I am trying to determine the best way to set up our imac so each user account can access the same media (songs, movies etc.) through itunes and also back up and manage their personal devices under their own personal user account. There are 4 users on our iMac. Me, my wife, and our 2 children. We have built an extensive library of music/media together using the same iTunes store account. I would like to establish a seperate apple id and iTunes store account for each of us going forward but have the ability for each of us to share our purchases. What is the best way to configure our system and devices in order to allow shared access to media and at the same time allow for individual management of devices including contacts, apps, photos, etc. Please help, I would like to do this once!
Thank you in advance!OK, seeing as no-one replied (presumably because a lot of this information is on the forums in bits elsewhere) here's how I've got on so far.
Applications - just went through them. About the only one I needed was my media server app. Just downloaded and re-installed, had a quick look back though my email to find the license key and it all went on fine. Installation never seemed quite right on my old machine so solved that problem too.
Movies - New iMovies just copied across the clips and projects into their respective folders. Seems to have worked but haven't checked it all that thoroughly. Some duplicate footage here but I can trim this out at some point when I get a chance to go through here.
Documents - Just copied these across.
Photos - used an app called iPhoto Library Manager. You can download for free but have to pay to use the part that consolidates your libraries. Possibly if I was willing to spend a bit more time I could have got away without using this but given I didn't know the state of my different libraries and just how many duplicates I had this was too much of a convenience to ignore. Also got my library into a state where I can now spend a few hours organising it a bit better with Faces / Events etc.
Not attempted Music or iPhone sync yet as been stuck trying to solve a problem with my power adapter. -
Any way to configure time machine?
Hello:
I have heard that there is a way to configure time machine so you can specify how often to back up the hard drive. Any thoughts?
I am not sure why Apple chose not to allow the user to specify the time interval. Right now, I have 150 GB on my hard drive and over 300 GB in backups.
Thanks,
PThere is a third-party utility called TimeMachineScheduler - VersionTracker or MacUpdate.
-
Best way to configure search toplogoy for multiple servers farm??
Hi,
My farm environment is 2 WFE and 2 App servers. Right now i am trying to configure Search Topology. what will be the best way to configure the search topology for this farm, so that query and crawling will be working perfectly. one thing i noticed with my
previous search application Crawl DB had grown 140 GB, i dont know why it happened. please look at the following screen shot, this the current topology but i want to distribute component to different server.
Any help will be appreciated!!The best topology depends on whether you want it to be fault tolerant or not. For a fault tolerant design with this number of servers I normally create two Index Partitions 0 and 1 with each on one of the App servers. I then create Replicas of each
partition on the front end servers. I then put the query role on both web fronts ends and the crawl role on both Ap servers. So I end up with the following:
FE1 = Index Replica 0 + Query
FE2 = Index Replica 1 + Query
Ap1 = Index 0 + Crawl
Ap2 = Index 1 + Crawl
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Is bgRFC Out-Inbound the right way for this... ?
Hi guys,
my scenario is:
n systems (SAP) send data to ONE server (AS ABAP). The data will delivered via one and the same RFC FM to be stored in exactly ONE file per day.
I have to ensure quality of service and delivery.
So my first question is if bgRFC is the right way of doing so...
MY idea was: I have exactly ONE inbound queue name on server/central system to ensure, that there will be only one unit to write data into file at the same time...
Second: when the sender system calls one function module several times, how do I have to configure the queue names...
I'm facing problems regarding this (please see below)
the error occurs whenever the FM is called more than once per unit and I have only ONE inbound queue name declared...
(please see coding below)
Any ideas on that?
Best -
Christoph
coding example....
DATA:
my_destination TYPE REF TO if_bgrfc_destination_outbound,
my_unit TYPE REF TO if_qrfc_unit_outinbound,
dest_name TYPE bgrfc_dest_name_outbound,
queue_name TYPE qrfc_queue_name,
dest_name = 'SID'.
my_destination = cl_bgrfc_destination_outbound=>create( dest_name ).
loop... (to split XLarge amounts of data)
CALL FUNCTION 'MSGRECEIVER'
IN BACKGROUND UNIT my_unit
exporting lt_data
endloop...
my_unit->add_queue_name_outbound( QUEUE_NAME = '<prefix>_OUT'
my_unit->add_queue_name_inbound( QUEUE_NAME = '<prefix>_IN'
IGNORE_DUPLICATES = abap_true ).
Problem:
the error occurs, when more than one function module is called by the sender system... and having only ONE inbound queue name declared...
Edited by: Christoph Aschauer on Jul 28, 2011 1:08 PMStart here to learn After Effects:
http://adobe.ly/AE_basics
This series of videos ends with exporting to H.264 (.mp4):
https://helpx.adobe.com/creative-cloud/learn/start/aftereffects.html -
The "right" way to handle multiple devices, accounts and the cloud?
Perhaps a bit premature, but I figure it's never too early to start planning.
Here's our current setup - I currently have four iDevices in the faily (three iPhones and one iPod Touch. All are syncing to the same Mac Mini, albeit with different logins (and different iTunes store ids). All four of these are kept in sync via Home Sharing so we have access to the music/apps/etc acquired by the others.
Enter the iCloud - how does this fit in? What's the *right* way to do this?
I can see two options:
1) Continue to utilize four iTunes store ids, sync them via Home Sharing and add four iClouds
Advantages
totally independent devices, users, etc.
Disadvantages
must pay for four "iTunes Match" services to access non-iTunes music on each of the four devices
will iTunes-purchased music automaticaly sync to iCloud if it is shared via Home Sharing (or only by the original purchaser)?
2) Use one iTunes Store id for all iDevices
Advantages
single point of acquisition and distribution for all devices
Disadvantages
need to find a way to merge IDs (is this even possible?)
Are there other advantages/disadvantages to these options? Are there other options? What's the easiest to set up and support? Any other thoughts?
Thanks in advance for your input.Well it seems like the first thing you should do is consolidate your iTunes libraries so that you don't have 4 copies of everything, one for each user logged in to your Mac Mini. How you do that is consolidate all 4 iTunes folders to one folder located in the /Users/Shared/ folder and update each of your iTunes to point to that folder accordingly. That way you have one iTunes library, only one copy of your media, but accessible from multiple users.
One caveat is that if somebody is logged on and has iTunes open, you can't fast switch to another user and open iTunes. Apple made it so that only one user and one instance of iTunes can open a iTunes library at a time.
For your iTunes match situation, it does sound like you would be much better off sharing a single Apple ID with one iTunes Match. For consolidating, make sure you have everything everybody has shared via Home Sharing to the main account you'd like to move over to, and then simply go to each device Settings, Store, and the sign out of the original Apple ID and logon using the shared main Apple ID. I just looked at it and the automatic downloading is already live in iOS! You can specify if you want to do music, apps, and books separately in case you may want to automatically download music but not apps or books. -
even though all photos look like they are the right way up, when the slideshow commences, some of them display sideways. I have tried re-rotating them - and still have same problem. Help please - need it for Saturday night !
What version of iPhoto are you using? Are you creating the slideshow directly from an album or are you using the slideshow mode?
As a test launch iPhoto with the Option key held down and create a new, test library. Import some photos and test to see if the same problem persists. Does it?
OT -
Hi Everyone
My name is Daté.
I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
The main idea is to (Theory) :
create custom panels used by fashion designers to classify their design files.
Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
Find someone to make a script able to export metadata in xml files
Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
Here is the process :
I have installed flashbuilder 4.6
I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
In Flashbuilder, i have created a new project and select xmp Custom panel
The new project is created in flashbuilder with a field with A BASIC Description Field
To generate the panel, right click the project folder and select xmp / Publish Custom Panel
The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
Go to illustrator, Open the file Info
The panel appears empty
The others panel are also empty
The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
It seems that many peaople have this issue, but i dodn't find a solution in the forum.
I try to create a trust file (cfg), but it didn't work.
It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
Thanks a lot for your help,
Best regards,
DatéHi Sunil,
After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
There is 2 different ways, the first described below is not working whereas the second is fine :
METHOD 1 :
I have downloaded the XMP-Fileinfo-SDK-CS6
In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
The plugin install an XMP project
In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
A new xmp project is created in flashbuilder.
You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
I try this way several times, with no good results.
METHOD 2 :
I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
The second method seems to be the right way.
For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
Sunil, as you belong to the staff team, can you tell me if there is :
A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
A plugin to allow indesign to get custom XMP in live caption
A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
How can you print the XMP data with the thumbnail of the file ?
Thanks a lot for your reply.
Best Regards
Daté -
Right way of login form...
Hello
I am a really newbie in web programming. I want to write a web application with JSF. I wonder what is the rgiht way of creating the login form. I tried to write a page segment file for it but page segments do not have prerender method so it cannot be fully controlled...I want something like that:
login control will be two parts..
if login info is not found in session, than it will show the login form.
if the user is found in session, than it will show the menu for the user...
but i couldnt do that because prerender methos is not available in page segments..
what is the right way for doing that kind of thing?Indeed implement a Filter.
Once an user logs in, put the User object in the HttpSession. Let the filter check on this User object. If this User object is null and you're not in the login page, then redirect to the login page.
Do a Google search on "LoginFilter implements Filter" or "UserFilter implements Filter" and you'll find lot of examples.
http://www.google.com/search?q=%22LoginFilter implements Filter%22
http://www.google.com/search?q=%22UserFilter implements Filter%22
Here is an advanced one which actually doesn't redirect if the User object doesn't exist, but this might give you some new insights: http://balusc.xs4all.nl/srv/dev-jep-usf.html -
Right way to dispose frame/components/containers?
Hi,
My application creates a lot of frames with lots of containers and components (heavyweights as well as light weights) inside them. I have obeserved that none of the frames/containers/components get finalized unless I do a remove/removeAll() over the respective container. Currently I just make a call to frame.dispose() to dispose it off and assume that all components would be reclaimed by the garbage collector at some point of time. Is that the right way to dispose off the frames and mark all its child components for garbage collection? Or is an explicit call to removeAll() required to release the memory. I am aware that garbage collection doesn't happen immediately and may take a while before the GC collects objects. I have run the application continuously for couple of hours and created/disposed a lot of frames during that period. GC recollected none of them (none of the components either) except for those that were removed by an explicit call to remove or removeAll during the lifetime of the session. I even hit OOM errors but none of the components were recollected.
What could be the problem?
Some additional information:
I overridden removeNotify() and finalize() methods to see what's going on. For all components removeNotify() was called (even if I don't do explicit remove/removeAll and just dispose off the frame) but finalize never gets called. My methods:
public void removeNotify()
super.removeNotify();
System.out.println("Remove notify called "+compId);
protected void finalize() throws Throwable
super.finalize();
System.out.println("Finalized component "+compId);
}Thanks in advance.
Edited by: crack_it on Jul 31, 2009 8:52 AMSorry to bother guys. The problem was not with AWT but with one evil component that was displayed inside most of my Frame classes and was also registered as an Observer with an Observable class. The event at which the component was supposed to unregister itself with Observable never got fired and this one reference prevented garbage collection of entire gui brigade. Damn! Tiny monster.
Anyway the issue stands resolved. Thanks for your time. -
Right way to validate form fields !!
Hi,
I am having a form with many fields including TextFields, Dropdowns, DateFields, Checkboxes, Radiobuttons etc.
I am validating the most fields by making them REQUIRED. But I didn't found way to make Checkbox field required. So I am doing it by script by making its MANADATORY property to true. I am validating fields at the Form's preSubmit event.
All I want to know that whether it is the right way to validation i.e.
Making field.mandatory = true; (for checkboxes or may be some other field too)
Check it at preSubmit event of the form;
I want to code it according to best practices. That's why this question bounces up in the mind.
Thanks.
AbhinavThank you for your replies!
I understand how to get data into a JCombobox,
but what about my bigger, general question?
"I am confused because in other parts of my program I get a database connection and am not sure if you just form a query each time you need data or store the results somewhere (vector, array, collection)and use it this way." when the data or parts need to be used again.
This is the help I need.
Thanks again1
Alan -
Right way to communicate with a socket server (TCP/IP)
Hi,
I used to write data from my J2ME socket client to a J2EE socket server with writeUTF(). In this way I can send (and receive) directly Strings.
When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
I was wondering if it's the right way to proceed ....?
How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?
Just to know if I'm completely wrong....and if I gonna have unsolicited issues ...
Thanks..AdrienD wrote:
When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
I was wondering if it's the right way to proceed ....?No, it is not. Read the writeUTF api docs, and you'll know why!
How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?There is answer to this question. it al depends on what data gets send where, how often, and how large..
Maybe you are looking for
-
How do I set the margins for a book in ibook author
I am fairly new to Ibooks author and am having trouble figuring out how to set my margins to follow throughout the book. I am making the book in landscape mode and want the hardcopy version to be 11 x 8.5. I need the left margin to be set at 2.5 an
-
Comment: Lion's lack of Exposé is lame.
I am not saying that I don't see potential in the new Mission Control (i.e., the all new "Über Master Control Center Station" - whetever). All I am saying is that I really don't like that the "new" Exposé (i.e., "All Windows") does NOT do two very ha
-
Hyper-v VM - merged .avhd files - now cant start as missing .vsv file
Hi All, Yesterday i shut down one of our VMs to allow the snapshots to merge and then tried to start the VM but got the following error: 'VM' could not initialize. An attempt to initialize VM save state failed. 'VM' could not initialize. (Virtual Mac
-
I have more "Other" than anything else on my phone. What is "other"?
Also, when I attempted to update to 7.02, I was told to transfer Purchased items to my library. Where do I find purchased items?
-
Question on iCloud, iTunes Match, etc. on MacBook Pro Core Duo 1,1
What won't Snow Leopard be able to run from the recently announced iCloud/iTunes Match suite of features? I'm assuming I can still get all the benefits of those new programs on my iPhone 4 and iPad 2 with iOS5, but some features may not be available