2014年1月2日星期四

There are two projects , how do I go to access resources in another project or request a project ?

If that. I can think of several of the following methods :
1. use webservice
2. use ajax to achieve cross-domain requests
3. specify an absolute path to a resource in another project in a project ( this way it should be for the request url to die )
I do not know everyone in the project development in general with what techniques and methods ? Wait caring advice. . .
------ Solution - -------------------------------------------


1, webservice ajax cross-domain methods can httpclient .
2, webservice then requested a release issued to call to request a release
3, ajax jquery , then there is a $. getJSON can use
4, httpclient such integration can also be used httpClient QQ is a joint landing
5, as well as through inheritance remote
variety of ways, if projects are you the freedom to develop their own on the big ,
If the project is the integration of third-party resources side then see what kind of form then decide themselves which method to use .
no fixed routine, but calculate it so much , and also not much.
------ Solution ---------------------------------------- ----

Please forgive my ignorance , why not go through the limitations of their service is ?  

If you want to do some business logic before requesting you should still be on the server side js ?
------ For reference only -------------------------------------- -
going to be deployed on the same host ?
------ For reference only -------------------------------------- -
  The reply was deleted at the moderator 2013-12-27 07:49:53

------ For reference only ---------------------------------- -----
webservice
------ For reference only ----------------------------- ----------
webservice
------ For reference only ------------------------ ---------------
with webservice it
------ For reference only ----------------- ----------------------
to another project into your jar labeled in this project .
------ For reference only -------------------------------------- -
I use httpclient, I would like to ask what is the difference httpclient with the webservice ah
------ For reference only ----------------- ----------------------
webservice
cics
mq
etc.
------ For reference only --------------------------------- ------
webservice
------ For reference only ---------------------------- -----------
if your project is developed by using spring REST can ,
------ For reference only ---------- -----------------------------
do file mapping ah
------ For reference only - -------------------------------------

  
1, webservice ajax cross-domain methods can httpclient .   
2, webservice then requested a release issued to call to request a release   
3, ajax jquery , then there is a $. getJSON can use   
4, httpclient such integration can also be used httpClient QQ is a joint landing   
5, as well as through inheritance remote   
variety of ways, if projects are you the freedom to develop their own on the big ,   
If the project is the integration of third-party resources side then see what kind of form then decide themselves which method to use .   
no fixed routine, but calculate it so much , and also not much.  
I would like to ask permission to use httpclient when requested address is how to control , if not authority control , it is not meant to call httpclient who can use resources and information with other systems yet ?
------ For reference only -------------------------------------- -

this program , I 'd have no contact , free to studies. . .
------ For reference only -------------------------------------- -

file mapping database records can not be shared , right ?
------ For reference only -------------------------------------- -
I know only a webservice . . .
------ For reference only -------------------------------------- -

    
1, webservice ajax cross-domain methods can httpclient .     
2, webservice then requested a release issued to call to request a release     
3, ajax jquery , then there is a $. getJSON can use     
4, httpclient such integration can also be used httpClient QQ is a joint landing     
5, as well as through inheritance remote     
variety of ways, if projects are you the freedom to develop their own on the big ,     
If the project is the integration of third-party resources side then see what kind of form then decide themselves which method to use .     
no fixed routine, but calculate it so much , and also not much.          
I would like to ask permission to use httpclient when requested address is how to control , if not authority control , it is not meant to call httpclient who can use resources and information with other systems yet ?  

double
------ For reference only -------------------------------- -------
If there are not other design constraints (technology, environment, specification, business and the like), a sea of ​​solutions can ; choose, such as, HTTP, RMI, EJB, WebService, MQ, Java API Invoke (jar dependency).
To be honest, the description for your question is not clear.
------ For reference only ------------ ---------------------------
webservice to do distributed development is very good, if jsonp cross-domain requests , then there is a drawback that is not after their service , so some of the limitations of the ~ ~ ~
------ For reference only ------------------------ ---------------

yes, what i need is the solutions which can solve the problem like this, not the solution to solve this problem.so, i can get a lot of solutions, then make a choice by myself.
--- --- For reference only ---------------------------------------

Please forgive my ignorance , why not go through the limitations of their service is ?
------ For reference only -------------------------------------- -

      
1, webservice ajax cross-domain methods can httpclient .       
2, webservice then requested a release issued to call to request a release       
3, ajax jquery , then there is a $. getJSON can use       
4, httpclient such integration can also be used httpClient QQ is a joint landing       
5, as well as through inheritance remote       
variety of ways, if projects are you the freedom to develop their own on the big ,       
If the project is the integration of third-party resources side then see what kind of form then decide themselves which method to use .       
no fixed routine, but calculate it so much , and also not much.                
I would like to ask permission to use httpclient when requested address is how to control , if not authority control , it is not meant to call httpclient who can use resources and information with other systems yet ?          
  
double  
double what is ? Urge patience to answer . . .
------ For reference only -------------------------------------- -

        
1, webservice ajax cross-domain methods can httpclient .         
2, webservice then requested a release issued to call to request a release         
3, ajax jquery , then there is a $. getJSON can use         
4, httpclient such integration can also be used httpClient QQ is a joint landing         
5, as well as through inheritance remote         
variety of ways, if projects are you the freedom to develop their own on the big ,         
If the project is the integration of third-party resources side then see what kind of form then decide themselves which method to use .         
no fixed routine, but calculate it so much , and also not much.                      
I would like to ask permission to use httpclient when requested address is how to control , if not authority control , it is not meant to call httpclient who can use resources and information with other systems yet ?                
    
double          
double what is ? Urge patience to answer . . .  

invoke methods in a
login first with HTTPCLIENT
call each other once again sending resources
Finally, the resource return resource
------ For reference only some form ------------------------- --------------

Please forgive my ignorance , why not go through the limitations of their service is ?          
  
If you want to do some business logic before requesting you should still be on the server side js ?  
understand , tky!
------ For reference only -------------------------------------- -
by everyone above exchange, I understand more clearly on this issue a few , but for permission requests still a little confused , the follow-up to continue to study , thank you !

没有评论:

发表评论