How can this pattern work? need help!!
the model i need have 3layers:JSP+EJB+SocketServer, i know EJB can act as Socket Client(not Server),but the
main problem is that i must use a .dll or .lib file(written in
c) in EJB to packge the socket data.someone says EJB
can use JNI while EJB Spec won't allow it, i dont't want
to take the risk also.Is there any other way can work?
(use runtime in EJB?)
if EJB can't work in this pattern,can i have another choice? (JSP and SocketServer can't be replaced)
NEED HELP!
Use the Mediator pattern.
Similar Messages
-
i have restored my iphone 5 (6.1.4) and now im activating it says disconnect and reconnect how can i fix the need help fast
What you me
-
HT5246 Everyone has Java installed - how can this tool work?
Every Mac (and PC user for that matter) has Java installed. Even if you did not have it, Apple's last two updates installed new versions. How can this malware tool work? And why is it limited to Lion?
Apple - this is not what your customers rightly expect and could be crippling to your reputation.
Do this over and do it right. Thankyou.Every Mac (and PC user for that matter) has Java installed.
That's incorrect.
How can this malware tool work?
By updating Java, if present, and removing the malware files, if present.
And why is it limited to Lion?
It isn't. There's a Java update for Mac OS X 10.6.8 that does the same things. -
how can i get my powerpoint and dvd's to show on my ipad2?
iPads don't have any kind of optical drive built in. Nor do they support them as peripherals. You can't use an iPad to show DVDs.
Take a look in the App Store at Keynote and Documents to Go for presentation options. -
everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on.
PLEASE HELP
this is very frustratingYou may have switched on an accessibility feature called FilterKeys by keeping the Shift key pressed for too long.
* http://www.microsoft.com/enable/products/windowsxp/default.aspx
*http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/access_filterkeys_turnon.mspx?mfr=true -
Buddy list all gray--how can this not work??
I've got iChat 3.1.8 and only opened it when i got a little Logitec USB camera. Plugged everything in, set all the settings, and added my buddy (another Mac user). I could not initiate a video chat because my buddy list names and icons are all gray. There are NO green icons at all. But she said I showed up just fine in her buddy list, and when she initiated the chat it worked perfectly. We had a nice chat. But when we tried again from my end, still no color in my life.
The camera has worked fine since I plugged it in. I bought and installed iChatUSBCam v2.2.1, which allowed me to set a few more settings. Alas, nothing has changed.
I've read this question a few times on the board and--most frustrating--they all seem to say "Oh, it worked itself out." But mine isn't working itself out. Camera and microphone are enabled. No one is blocked. I'm lost.
ibook G4 Mac OS X (10.4.10)Hi M Smith 1,
Welcome to the Apple Discussions
In System Preferences > Sharing > Firewall tab is the Firewall On ?
Have you set the iChat ports in a New options if it Is ?
Did those ports include 5190 on UDP ?
If Yes to these three question use the Advanced button.
Does this have the "Block UDP Traffic" item ticked ?
If so deselect it.
The iChat ports also need to be open in your modem and any separate router.
If Port Forwarding was used here it must point to the IP that your computer is getting or using. ( See System Preferences > Network > (Select connection method) > TCP/IP tab )
On some modems and or routers the forwarding or use of TCP and UDP protocols on port 5190 seems to cause a conflict.
iChat can have the login to AIM and text chatting moved to a different port.
iCHat > Preferences > Accounts
Select the AIM or @mac account on the left
Select the Server Settings tab
Whilst Logged out of AIM change the port to 443.
If all these do not work go to Users/(your Account)/Library/Preferences and delete com.apple.ichat.AIM.plist and restart ichat
10:55 AM Monday; July 23, 2007 -
[Solved] [Bash] How can this NOT work?!?!
###### Samsung NC10 Commandcenter ######
#!/bin/bash
command=""
act=""
args=0
param=$2
if [ $# -eq 2 ]; then
args=2
fi
add () {
if [ args!=2 ]; then
echo "What do you want to activate?"
echo -e "1) LAN\t2) WLAN\t3) Bluetooth"
read act
fi
if [ args=2 ]; then
act=$param
fi
case $act in
1)
echo "Activating LAN."
modprobe sky2;
/etc/rc.d/network start;
2)
echo "Activating WLAN."
modprobe ath5k;
/etc/rc.d/network start;
3)
echo "Activating Bluetooth."
modprobe btusb;
modprobe bluetooth;
echo "Invalid action '$act'!"
esac
remove () {
if [ args!=2 ]; then
echo "What do you want to inactivate?"
echo -e "1) LAN\t2) WLAN\t3) Bluetooth"
read act
fi
if [ args=2 ]; then
act=$param
fi
case $act in
1)
rmmod sky2;
/etc/rc.d/network stop;
2)
rmmod ath5k;
/etc/rc.d/network stop;
3)
rmmod btusb;
rmmod bluetooth;
echo "Invalid action '$act'!"
esac
cmd () {
if [ args!=2 ]; then
echo "What action do you want to perform?"
echo -e "1) Suspend(RAM)\t2) Hibernate(HDD)"
read act
fi
if [ args=2 ]; then
act=$param
fi
case $act in
1)
echo "Suspending to RAM."
pm-suspend;
2)
echo "Hibernating to HDD."
pm-hibernate;
echo "Invalid action '$act'!"
esac
if [ $# -ne 0 ]; then
case $1 in
add)
command=1
rm)
command=2
cmd)
command=3
command=$1
esac
fi
if [ $# -eq 0 ]; then
echo -e "Entering interactive mode. \nWhat task would you like to perform? \n1) Activate\t2) Inactivate\t3) Command"
read command
fi
case $command in
1)
add
2)
remove
3)
cmd
echo "Invalid parameter '$command'!"
esac
I'm trying to make a script to control the various functions of my awesome netbook, but even though my design is ingenious , it doesn't work. I've tried everything and I just don't see why it can't work.
If you start it without arguments, it will ask interactively for the arguments and it works. It works if you pass the first argument, it asks you straight for the second one.
But it doesn't work if you give both arguments directly. I've tried pretty much everything and I'm about to start punching in walls.
It's my first real bash script though...
Last edited by initbox (2009-03-08 16:00:20)Now it works!
All I had to do was add $ in the if-variables and add spaces into the if-conditions.
Thanks guys.
Use it if you find it useful, don't care about credits or w/e.
Finished script:
#!/bin/bash
###### Samsung NC10 Commandcenter ######
command=""
act=""
args=0
param=$2
if [ $# -eq 2 ]; then
args=2
fi
add () {
if [ $args -ne 2 ]; then
echo "What do you want to activate?"
echo -e "1) LAN\t2) WLAN\t3) Bluetooth"
read act
fi
if [ $args = 2 ]; then
act=$param
fi
case $act in
1|lan)
echo "Activating LAN."
modprobe sky2;
/etc/rc.d/network start;
2|wlan)
echo "Activating WLAN."
modprobe ath5k;
/etc/rc.d/network start;
3|bt)
echo "Activating Bluetooth."
modprobe btusb;
modprobe bluetooth;
echo "Invalid action '$act'!"
esac
remove () {
if [ $args -ne 2 ]; then
echo "What do you want to inactivate?"
echo -e "1) LAN\t2) WLAN\t3) Bluetooth"
read act
fi
if [ $args = 2 ]; then
act=$param
fi
case $act in
1|lan)
/etc/rc.d/network stop;
rmmod sky2;
2)
/etc/rc.d/network stop;
rmmod ath5k;
3)
rmmod btusb;
rmmod bluetooth;
echo "Invalid action '$act'!"
esac
cmd () {
if [ $args -ne 2 ]; then
echo "What action do you want to perform?"
echo -e "1) Suspend(RAM)\t2) Hibernate(HDD)"
read act
fi
if [ $args = 2 ]; then
act=$param
fi
case $act in
1)
echo "Suspending to RAM."
pm-suspend;
2)
echo "Hibernating to HDD."
pm-hibernate;
echo "Invalid action '$act'!"
esac
if [ $# -ne 0 ]; then
case $1 in
add)
command=1
rm)
command=2
cmd)
command=3
command=$1
esac
fi
if [ $# -eq 0 ]; then
echo -e "Entering interactive mode. \nWhat task would you like to perform? \n1) Activate\t2) Inactivate\t3) Command"
read command
fi
case $command in
1)
add
2)
remove
3)
cmd
echo "Invalid parameter '$command'!"
esac
Last edited by initbox (2009-03-14 12:12:26) -
hey ppl
i have a datagrid in my form.i need to read input(fields..sort of a database) from a text file and display its contents in the datagrid.
how can this be done.. and also after every few seconds reading event should be re executed.. and that the contents of the datagrid will keep changing as per the changes in the file...
please help as this is urgent and important.. if possible please provide me with an example code as i am completely new to flex...
thanks.....It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
[http://java.sun.com/docs/books/tutorial/essential/io/]
*Unless you write a bunch of JNI code to replicate what the java.io classes are doing. -
All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though. WHATBCAN I DO TO MAKE MY APPS STOP CRASHING. I ALREADY TURNED IT OFF THEN ON AGAIN AN IT STILL CRASHES. HELPPP!!!!
Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.
-
A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?
Hi,
This sounds like it is about Window positions.
iChat has Default places for Incoming Invites.
Video is always top Center of your Screen
Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
Secondary invites are sort of Stacked like when you open multiple files from the same App.
Your outgoing Windows are "Remembered" as to where the last one was when you used it.
This can be an issue if you use your Mac with a second display and turn Off Mirroring.
You windows can get "left" on the other screen.
Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
10:42 PM Tuesday; April 26, 2011
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb( 10.6.7)
, Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Since Windows 2003 Services ending we moving Sharepoint Services 3.0 to Windows 2008R2,
Any help how can this be done ?
We have 1 Server and single Farm.
I have build New 2008 R2 Server and planning to restore Backup taken from Old server to this new server. Will this work ?
Which version of Sharepoint should i install on Windows 2008 R2 server , i run sharepoint.exe downloaded but it throws errorSorry for late reply.
Your next step is, create a new web application and deattach the content DB from new web application. You need to attach existing CDB to that web app.
Here is some links for your ref (unfortunately this is for 2010 but it same steps should work in WSS as well)
http://nikpatel.net/2009/03/11/step-by-step-process-move-site-collections-from-one-content-database-to-another/
http://www.sharepointpitstop.com/2012/06/attachdetach-sharepoint-webapp-contentdb.html
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help -
I have an iPhone 4 still running 6.1.3 software. A few days ago it stopped working through my car's USB connection (I have a 2010 Honda Civic Hybrid). I can no longer control my music through my car's stereo system. I am unable to choose what song, album, playlist, etc. to be played and cannot skip songs. When I try to skip, it reverts back to the first song. When I choose what to be played directly on my phone, it can only be played for about 30 seconds through my car's stereo system before it stops and displays the message "Unsupported Version." How can this be fixed? (Also, I know it is my iPhone and not my car because someone I know has the same exact car as me from 2009 and it did the same thing on theirs.)
Any help would be greatly appreciated. This problem is extremely frustrating and the alternative of trying to change music directly on my phone while driving is a risk I am not willing to consider. Thanks!Alright, sorry for not having browsed this page a bit more before stating my question. I have just found some other similar topics on this problem. Please don't reply this thread unless there actually is a solution to the problem, because at current time there is not.
-
I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!
cor-el,
Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway. -
When trying to download an app, I am being told my Apple ID has been disabled! Why is this happening? How can I fix? Please Help.
We are fellow users, we won't know why it's disabled. You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
You might then need to log out of your account on your device by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in so as to 'refresh' the account on it
If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page -
iPad 2 6.1.3 iMessage not consistently working. Has trouble sending and receiving. How can this be fixed? Have tried restarting, turning iMessage off and on, signing out and in. Please help, thanks!
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom
Maybe you are looking for
-
Bootcamp W7 on MacBook Air issue, iPad sync
***I have a MacBook Air with Bootcamp 3.x/Windows 7 32bit.*** I installed iTunes (latest release) yesterday in hopes to sync iPad. I logged into iTunes. I connected iPad, and it was recognized by iTunes. I went to sync iPad with iTunes, and iTunes be
-
Hi XI Adimin/Basis experts, Please let me know a way to achieve load balancing among available J2EE server nodes by adjusting any Java Dispatcher settings. what is the effect of sf.restricted.load.balance parameter of the Dispatcher JVM property". Ca
-
I am trying to enable file sharing between my new iMac and my (2007) model Macbook Pro. I am succesfully able to share files from the old mac to the new one, as I can connect via the macbook, but when I try and connect from the new Mac it "fails".
-
I have an older TV that does not have an HDMI port. I purchased an HDMI to Composite converter (Bytecc) and hooked it up to stream Apple TV. It plays some content, but when I try Netflix or HBOGO I get the following error message-- "This content re
-
SSIS 2008 - Sending file with dynamic name using FTP task
Hi - Thanks for taking a look - (I'm very new to SSIS.) I'm trying to create an SSIS 2008 package that does the following: 1) Execute a stored procedure on SQL. 2) Download the results as a CSV file to a 'local' location. The file name is set usin