remoteobject

remote jars in the classpath

情到浓时终转凉″ 提交于 2019-12-05 15:24:23
Sorry, maybe this question is too silly or already answered, but I couldn't find it out. I'm wondering if there is some known Java class-loader that is able to accept remote files in the classpath, i.e., entries like CLASSPATH="http://somewhere.net/library.jar:...". Note that I am not talking about applets or Java Web Start. Think of an application that can use different back-ends (e.g., MySQL, Oracle), I'd like to prepare the classpath in a shell script, based on the user's back-end preference and have the class-loader to download the needed jar (the jdbc driver in this example) from a

Flex RemoteObject - handling multiple requests

笑着哭i 提交于 2019-12-05 13:06:05
I have a couple of remote object methods that I want to respond to in different ways depending on the context, but I'd rather not set up a bunch of different RemoteObject aliases. Any advice on doing that? Some background: Let's say I have an admin application that displays sales stats in different ways. The remote method looks like: <mx:RemoteObject id="rpt" destination="AMFServer"> <mx:method name="getSalesStats" fault="getSalesStatsFault(event)" result = "getSalesStatsSuccess(event)" /> </mx:RemoteObject> The getSalesStats method takes an employee ID and a sales type as its arguments. You'd

Development in Visual Studio 2010 for remote Sharepoint 2010 server

∥☆過路亽.° 提交于 2019-12-02 17:56:20
问题 I understand that you can't develop in Visual Studio 2010 for a remote Sharepoint 2010 server because you need a local copy running on your box. (I know there is a hack) In my situation I have Sharepoint Foundation installed locally for development purposes but I'm not sure how to get the custom lists, etc from the remote server to my local box so I can develop against the same objects. I've tried exporting the site on the remote box and then creating a new Visual Studio 2010 project from it.

Development in Visual Studio 2010 for remote Sharepoint 2010 server

醉酒当歌 提交于 2019-12-02 08:12:24
I understand that you can't develop in Visual Studio 2010 for a remote Sharepoint 2010 server because you need a local copy running on your box. (I know there is a hack) In my situation I have Sharepoint Foundation installed locally for development purposes but I'm not sure how to get the custom lists, etc from the remote server to my local box so I can develop against the same objects. I've tried exporting the site on the remote box and then creating a new Visual Studio 2010 project from it. This resulted in exceptions when deploying to my local box - more problems which I'm sure given time I

SkImageDecoder::Factory returned null

心不动则不痛 提交于 2019-12-01 18:55:20
I'm programming on Android and read images from a remote URL with this call BitmapFactory.decodeStream( .... Random, I get the error: SkImageDecoder::Factory returned null I read some thread here but not solve my problem (Use a wrapper to InputStream class, use drawable, etc) Any Idea? I also had this problem... eventually i found out that the image was too big and that caused the error. I suggest you try an image that you know will fit more or less. also you can use the lib picasso : Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView); But for me even with picasso ive

EJBCLIENT000025: No EJB receiver available for handling?

落花浮王杯 提交于 2019-11-30 20:44:37
I am trying to connect to a remote EJB on my local JBoss 7.2 from an executable Java application (local not on JBoss). But I get the following error/Exception : java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:xx-xx, moduleName:xx-xx-business-impl, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@14bc02d at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:693) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116) at org.jboss.ejb

EJBCLIENT000025: No EJB receiver available for handling?

这一生的挚爱 提交于 2019-11-30 05:16:15
问题 I am trying to connect to a remote EJB on my local JBoss 7.2 from an executable Java application (local not on JBoss). But I get the following error/Exception : java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:xx-xx, moduleName:xx-xx-business-impl, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@14bc02d at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:693) at org

java.rmi.ConnectException: Connection refused to host: 127.0.1.1;

纵然是瞬间 提交于 2019-11-26 20:01:06
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler