Angular is a client framework, not a server one. There's dozens of servers
it could connect to, and some people write angular apps with no real server
backend to connect to. So, it's kind of agnostic as far as your request is
concerned.

If you have a server that exposes some kind of RPC, you could probably
interact with it. $http gives you a lot of flexibility in terms of what you
pass in. The "standard" way to do it is to use JSON-style REST calls, but
I'm sure you could fiddle it to do some kind of xml-rpc or SOAP kind of
thing if you have a java servlet backend. Just check out the documentation
of $http, and pay close attention to the data attribute of the options
object.

I don't know if there's any kind of library to support that though, so you
may be on your own.

e


On Fri, Jul 4, 2014 at 3:14 AM, CoderBoy <[email protected]>
wrote:

> Thnx, I will then simply do what I am doing now. doPost()  :)
> I was just curious can RESTful API of Angular do that, kind of like
> RemoteProcedureCalls ??
>
>
>
> On Friday, July 4, 2014 3:23:35 PM UTC+5:30, Sander Elias wrote:
>>
>> Hi Coderboy,
>>
>> I don't know how you arranged your system, but usually servlets run on
>> the server. AngularJS run on the browser/client. So if you want to
>> call anything, you need some form of communication, usually indeed a
>> post.
>> I don't think there is a way around this without serious refactoring of
>> your entire stack.
>>
>> Regards
>> Sander
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to