Hi All, We can call java in multiple ways..
1) HttpService -- Here while sending response we have to mention the contentType to inform the browser that the response which is coming from the server is type of.. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "text/css", and "audio/basic". etc 2)WebService -- Here we will send and receive the data in XML that is SOAP 3)RemoteObject -- This is one of the most used in BlazeDS .. here the data is send in binary and the Object is a proxy object .. If u use RemoteAlias on the top of ValueObject then they are casted into corresponding Java Object.. Basic data types are supported.. Let me know if any body still have any queries.. Regards, Jitendra Jain On Fri, Jun 24, 2011 at 2:57 PM, Gerald Anto Fernando < [email protected]> wrote: > Hi manik, naju and choudry is there any related links for things were told > by you All. > > > On Thu, Jun 23, 2011 at 6:29 PM, Bambam Choudhary <[email protected]>wrote: > >> Hi Gerald, >> >> As per my knowledge about JSON >> >> JSON is lightweight text-based and representing associative arrays, called >> objects.JSON format is often used for serializing and transmitting >> structured data over a network connection. It is primarily used to transmit >> data between a server and web application, serving as an alternative to >> XML.It is improving data parsing speed, Pass all data as a single string. >> JSON is built on two structures,A collection of name/value pairs.An object >> is an unordered set of name/value pairs. An object begins with { (left >> brace) and ends with } (right brace). Each name is followed by : (colon) and >> the name/value pairs are separated by , (comma). >> >> Thanks >> Bambam Choudhary >> >> >> On Thu, Jun 23, 2011 at 6:06 PM, Gerald Anto Fernando < >> [email protected]> wrote: >> >>> in httpService i used to send a parameter and will get a XML node as >>> output(jsp<-java<-Database). >>> i didnt use JSON and all. >>> please let me clear what is JSON and use of it? >>> how JSON related to JSP and Java >>> please give me some example code(small set of code) >>> then i will work on it >>> >>> Thanks&Regards, >>> Gerald A >>> >>> >>> >>> On Thu, Jun 23, 2011 at 4:01 PM, HISSAM <[email protected]>wrote: >>> >>>> Also, >>>> >>>> If u using httpservice and sending JSON object dont forget to set the >>>> contentType >>>> >>>> Code >>>> httpServiceOBJ.contentType="application/json"; >>>> >>>> >>>> On 23 June 2011 15:09, Gerald Anto Fernando <[email protected] >>>> > wrote: >>>> >>>>> i dont know about this. >>>>> i would be very thankful if you send the example for this >>>>> >>>>> Thanks&Regards, >>>>> Gerald A >>>>> >>>>> >>>>> On Thu, Jun 23, 2011 at 1:18 PM, kiran reddy >>>>> <[email protected]>wrote: >>>>> >>>>>> Hi Anto >>>>>> >>>>>> if we can send data as json from client get datafrom remote and just >>>>>> convert total data as string . then u get client data as string and >>>>>> again convert as JSON like >>>>>> >>>>>> This is i know concept. if u know better way how to handle let me know >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Jun 23, 2011 at 12:53 PM, kiran reddy < >>>>>> [email protected]> wrote: >>>>>> > Hi >>>>>> > >>>>>> > we can pass data in the form of xml and JSON. >>>>>> > >>>>>> > we can convert as data xml or JSON . >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > On Thu, Jun 23, 2011 at 12:36 PM, Gerald Anto >>>>>> > <[email protected]> wrote: >>>>>> >> HttpService - Blazeds >>>>>> >> >>>>>> >> we can call our JSP page through httpService request >>>>>> >> then will get a output as XML format >>>>>> >> >>>>>> >> With Blazeds, >>>>>> >> supose we call a java class from RemoteObject, what will be >>>>>> >> the output? >>>>>> >> String or Is there any way to get XML format of data? >>>>>> >> In case we want bulk of data from java class how to we >>>>>> >> acheive it? >>>>>> >> please give me detailed description >>>>>> >> >>>>>> >> -- >>>>>> >> You received this message because you are subscribed to the Google >>>>>> Groups "Flex India Community" group. >>>>>> >> To post to this group, send email to [email protected]. >>>>>> >> To unsubscribe from this group, send email to >>>>>> [email protected]. >>>>>> >> For more options, visit this group at >>>>>> http://groups.google.com/group/flex_india?hl=en. >>>>>> >> >>>>>> >> >>>>>> > >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Flex India Community" group. >>>>>> To post to this group, send email to [email protected]. >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]. >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/flex_india?hl=en. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks & Regards, >>>>> A Gerald >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Flex India Community" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/flex_india?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Hissam, >>>> Flex Developer, >>>> INDIA. >>>> (m) +919860694301 >>>> If I CRY angels deserves to DIE. >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Flex India Community" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex_india?hl=en. >>>> >>> >>> >>> >>> -- >>> Thanks & Regards, >>> A Gerald >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > > > -- > Thanks & Regards, > A Gerald > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks and Regards, JJain, If you have knowledge, let others light their candles in it --Margaret Fuller: -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

