Wednesday, May 30, 2012

Cross Domain JSONP ( Json with padding ) with Jquery and Servlet or JAX-WS

  • Solving Cross Domain problem using JSONP ( Json with padding ) with Jquery and Servlet JAX-WS
  • or Cross-domain communications with JSONP
  • or Cross domain jquery or cross domain Ajax
  • or java - Sending JSONP vs. JSON data
  • or JSONP javascript or Java JSONP

    Well there are several techniques to address cross domain problem. Here are few.

1. Using CORS ( Cross-Origin Resource Sharing ) where in we modify the repsonse header
Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: http://test.com:8080 http://foobar.com
The asterisk permits scripts hosted on any site to load your resources; the space-delimited lists limits access to scripts hosted on the listed servers.
Problem is CORS may not work in all browsers ( See: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing)

2. Other option is to use some server side re-direct of the request to a servlet or a php script on your  own domain which in trun calls third party web site.
But at times we may not have this option to implment a servlet or PHP script which we can call on our domain.

3.If the third party url that you are invoking supports JSONP response then all browsers work without complaining


What is JSONP ?

- JSONP - JSon with padding. It means to your JSON response we will append the callback method name.
eg: Let say your JSON response is  {"totalInterestPmtAmt":5092.79,"totalPmtAmt":15092.79}
and lets assume the callback method name that was sent in request was  getPayment JSONP Response will be :getPayment( {"totalInterestPmtAmt":5092.79,"totalPmtAmt":15092.79} )
(However if you dont give call back method name Jquery dynamically generates a method name sends in request and when response comes back  it will use that method name to call it ...Read further everything will make sense...)

Since all browsers allow injecting java scripts from third party websites without complaining (that they are cross domain) in JSONP the response we need, is wrapped as a Java script method there by fooling the browser to think its as java script.
<script> tag is less restrictive hence in JSONP you got the same JSON response with a call back method added to it. So browser was happy that it was just injecting some java script function and did not complain. Sweet !!!

Enabling JSONP Server side using Servlet as wrapper for JAX-WS webservice
--------------------------------------------------------------------------------------------------
I had an exisitng JAX-WS webservice which returns  JSON response. Most time this webservice is invoked by some other server component. But we had a client who had to call using Ajax and browser started complaining that we are accessing cross domain url.

Let say my webservice url was:
http://abcd.com/Calculation/CalculationWebServiceImpl.wsdl

And the caller is on
http://xyz.com/displayRate.html ---> this page has ajax call. (will show later )

So all we did was added a servlet called CalulationServlet which had the URL
http://abcd.com/Calculation/CalculationServlet

//SERVLET:
package com.rama.test.jsonp;
public class CalculationServlet extends HttpServlet{
   // NOTE: JSONP works only iwth GET request
    protected void doGet(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
        processRequest(request, response);
    }

//JSONP cannot work for POST.....So dont implement. 
  protected void doPost(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {

 }
  private void processRequest(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
     String amount = request.getParameter("amount");
     String rate= request.getParameter("interestRate");
     BigDecimal  principal = new BigDecimal( amount);
     BigDecimal  interestRate = new BigDecimal(rate);        

//If are using Jquery each time the call back method name will be auto generated.// but Parameter name can be controlled
// most often all exmaples I have seen use "callback" as request parameter
//eg: your call method name can be like.  jsonp1337622713385
String callBackJavaScripMethodName = request.getParameter("callback");


//Here called my webservice as if like any other java client.      
//callWebservice -- Takes two input param and returns response as JSON    

 String jsonResponseData =   callWebservice(principal,interestRate);
// so it will look like  
//jsonp1337622713385 ( {"totalInterestPmtAmt":5092.79,"totalPmtAmt":15092.79} );
String jsonPoutput = callBackJavaScripMethodName + "("+ jsonResponseData + ");";

//Write it to Response  

   response.setContentType("text/javascript");
   PrintWriter out = response.getWriter();
   out.println(jsonPoutput);
 }    
}
NOTE: Its very important that the response content type is set to   text/javascript
Now I edited the web.xml that was already there for my webservice I added the following entry

  <servlet>
   <description>This Servlet  was added to support JSONP protocol to resolve cross domain scripting problem
    </description>
        <display-name>CalculationServlet</display-name>
       <servlet-name>CalculationServlet</servlet-name>
        <servlet-class>com.rama.test.jsonp.CalculationServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>CalculationServlet</servlet-name>
       <url-pattern>/CalculationServlet</url-pattern>
    </servlet-mapping>
Now my servlet can be invoked using the url
http://abcd.com/Calculation/CalculationServlet?amount=10000  (as the web app name is Calculation)

JQuery to invoke:
Inside the any html page assuming you have Jquery included
<SCRIPT src="scripts/jquery.js"></SCRIPT>

<SCRIPT>

function callWebService() {
///the callback=? the questsion mark will be replace by JQuery with 
//some method name like jsonp1337622713385
//So when response comes back the response is packed inside this method.
//Thats all we did in server side. The callback method name is dynamically 
//generated by JQUERY.


var calcServcURLValue = 'http://abcd.com/Calculation/CalculationServlet?amount=10000&callback=?';
    $.ajax({ 
            url: calcServcURLValue , 
            type: 'get',  /* Dont use post it JSONP doesnt support */
            dataType: 'jsonp',
            success: function(res) {
             alert('Yahoo!!!! We got the Response back')
             processResponse(res);
          }
          , 
            error: function(e , msg){ 
                processError(e,msg);
            }
    }); 
 }


function processError(e , msg){
    alert('Call to Service Failed');
}


//The res object you get is a JSON object 
// Since the JSON response is 
// {"totalInterestPmtAmt":5092.79,"totalPmtAmt":15092.79}
//yes the call back method name will 
//be removed by Jquery isn that neat 

function processResponse(res){
    alert('totalInterestPmtAmt='+ res.totalInterestPmtAmt);
    alert('totalPmtAmt='+ res.totalPmtAmt);
}

</script>

//Add some html and a button to call function callWebService( ) you should be all set.
so this work around will save you from CROSS Domain Issues.

176 comments:

  1. I like the way you write, but please, do somethink for your code, use indent and coloration.

    ReplyDelete
    Replies
    1. WOW SO NICE BLOG !
      IT IS SO MEANINGFUL

      learn data analytics course in mumbai and earn a global certification
      with minimal cost .
      for further details

      304, 3rd Floor, Pratibha Building. Three Petrol pump, Opposite Manas Tower, LBS Rd, Pakhdi, Thane West, Thane, Maharashtra 400602
      Hours:
      Open ⋅ Closes 10PM
      Phone: 091082 38354
      Appointments: excelr.com

      https://g.page/ExcelRDataScienceMumbai


      Data Analytics course is Mumbai

      Delete
  2. Sure. I will indent. Thanks for the feed back. I tried different templates. I guess I need to find the right CSS.

    ReplyDelete
  3. Thanks, this helped a lot in solving my jsonp problem. great job

    ReplyDelete
  4. Thanks. Hope you did up vote this article on stackoverflow.com

    -Ram

    ReplyDelete
  5. Hi Ram,

    I want to use the same but in my case www.TO.com/file.jsp has javascrpit which should send message to WWW.FROM.com/file2.jsp on redirect from file1 to file2 for user. No server side code available for modifiaction at FROM.com.

    Regards,
    Gaurav Joshi

    ReplyDelete
  6. As described above you may have to think of using
    Option 2 in the above list.

    2. Use some server side re-direct of the request to a servlet or a php script on your own domain which in trun calls third party web site.

    ReplyDelete
  7. Question: Will invoked third party url be able to set cookies? So, JSONP-invoking-client can be recognized if he later invokes third party url?

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. I don't get it.. you say it doesn't work for POST, don't implement... then you go and put the code in DoPost ??

    ReplyDelete
    Replies
    1. Thanks buddy. Copy paste error. I have fixed it.

      Delete
  10. Good catch. I messed up when naming the methods. Its true we shouldn't add the code into doPost(..) as JSONP will not invoke it.Thanks.

    ReplyDelete
  11. Sorry, but my json is interpreted as string ...any ideas?

    ReplyDelete
  12. Ok I got it, but return object is not in the same order, now is sorted by name. Thank you for your clear example about callback functions

    ReplyDelete
  13. I want to send 2 additional parameters api_key and api_secret to access a particular api. how will request look like. please suggest.

    ReplyDelete
  14. Thanks great to see it all in one spot - good teacher :)

    ReplyDelete
  15. Nice blog has been shared by you. before i read this blog i didn't have any knowledge about this but now i got some knowledge so keep on sharing such kind of an interesting blogs.
    jira admin training

    ReplyDelete
  16. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    python training in chennai | python training in bangalore

    python online training | python training in pune

    ReplyDelete
  17. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.

    Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

    Selenium Training in Bangalore | Best Selenium Training in Bangalore

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    ReplyDelete
  18. I am really enjoying reading your well-written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
    Hadoop course in Marathahalli Bangalore
    DevOps course in Marathahalli Bangalore
    Blockchain course in Marathahalli Bangalore
    Python course in Marathahalli Bangalore
    Power Bi course in Marathahalli Bangalore

    ReplyDelete
  19. I have read so many articles and definitely this one is the best I have read. Thanks for uploading.
    selenium course
    selenium Testing Training
    FITA
    Selenium Training in Chennai

    ReplyDelete
  20. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
    Selenium training in Chennai

    ReplyDelete
  21. It's a Very informative blog and useful article thank you for sharing with us, keep posting learn more about BI Tools Thanks for sharing valuable information. Your blogs were helpful to tableau learners. I request to update the blog through step-by-step. Also, find Technology news at
    Tableau Training

    Android Online Training

    Data Science Certification

    Dot net Training in bangalore

    Blog.

    ReplyDelete
  22. Great stuff, Great post i must say thanks for the information.

    ExcelR Data Science Course Bangalore

    ReplyDelete
  23. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing.
    data analytics certification courses in Bangalore
    ExcelR Data science courses in Bangalore

    ReplyDelete
  24. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  25. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.data science course in dubai

    ReplyDelete
  26. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
    machine learning course in bangalore

    ReplyDelete
  27. Thanks for a nice share you have given to us with such an large collection of information.
    Great work you have done by sharing them to all. for more info
    simply superb.PGDCA class in bhopal
    autocad in bhopal
    3ds max classes in bhopal
    CPCT Coaching in Bhopal
    java coaching in bhopal
    Autocad classes in bhopal
    Catia coaching in bhopal

    ReplyDelete
  28. I am looking for and I love to post a comment that "The content of your post is awesome" Great work!
    www.technewworld.in
    How to Start A blog 2019
    Eid AL ADHA

    ReplyDelete
  29. Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.

    blue prism training in chennai | blue prism course in chennai | best blue prism training institute in chennai | blue prism course in chennai | blue prism automation in chennai | blue prism certification in chennai

    ReplyDelete
  30. This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this,
    Great website

    ReplyDelete
  31. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
    data analytics course malaysia

    ReplyDelete
  32. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

    ReplyDelete
  33. Thank you for providing the valuable information …

    If you want to connect with AI (Artificial Intelligence) World
    as like
    Python Training
    ML(Machine Learning)

    Course related more information then meet on EmergenTeck Training Institute .

    Thank you.!

    ReplyDelete
  34. If you are looking for sony bluetooth speakers then go on https://www.arecious.com/

    ReplyDelete
  35. Data for a Data Scientist is what Oxygen is to Human Beings. business analytics course with placement this is also a profession where statistical adroit works on data – incepting from Data Collection to Data Cleansing to Data Mining to Statistical Analysis and right through Forecasting, Predictive Modeling and finally Data Optimization.

    ReplyDelete
  36. Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work. Machine Learning Training In Bangalore

    ReplyDelete
  37. Thanks for sharing like a wonderful blog’s learn more new information from your blog. Keep sharing the post like this
    Python training in bangalore

    ReplyDelete
  38. For AWS training in Bangalore, Visit:
    AWS training in Bangalore

    ReplyDelete
  39. It has been great for me to read such great information about python Training.python training in bangalore

    ReplyDelete
  40. good article
    Selenium Course in Bangalore

    Selenium with python Training in Bangalore

    ReplyDelete
  41. Congratulations This is the great things. Thanks to giving the time to share such a nice information.best Mulesoft training in bangalore

    ReplyDelete
  42. Excellent post for the people who really need information for this technology.ServiceNow training in bangalore

    ReplyDelete
  43. I must appreciate you for providing such a valuable content for us. This is one amazing piece of article.Helped a lot in increasing my knowledge.sap training in bangalore

    ReplyDelete
  44. It is really explainable very well and i got more information from your site.Very much useful for me to understand many concepts and helped me a lot.microsoft azure training in bangalore

    ReplyDelete
  45. The Information which you provided is very much useful for Agile Training Learners. Thank You for Sharing Valuable Information.google cloud platform training in bangalore

    ReplyDelete
  46. I must appreciate you for providing such a valuable content for us. This is one amazing piece of article.Helped a lot in increasing my knowledge.vmware training in bangalore

    ReplyDelete
  47. A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset...
    Please check ExcelR Data Science Courses

    ReplyDelete
  48. Thanks for sharing this blog. This very important and informative blog.dot net training in bangalore

    ReplyDelete
  49. I am really happy to say it’s an interesting post to read. I learn new information from your article, you are doing a great job. Keep it up…

    Best SAP EWM Training in Bangalore - Learn from best Real Time Experts Institutes in Bangalore with certified experts & get 100% assistance.

    ReplyDelete
  50. I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article..
    Please check ExcelR Data Science Training in Pune

    ReplyDelete
  51. I am looking for and I love to post a comment that "The content of your post is awesome" Great work!
    data analytics course mumbai

    ReplyDelete

  52. Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work!
    ExcelR data science training in bangalore

    ReplyDelete
  53. Here at this site really the fastidious material collection so that everybody can enjoy a lot.big data malaysia
    data scientist certification malaysia
    data analytics courses

    ReplyDelete
  54. Thanks for sharing such an nice and informative stuff...

    Tableau Server Training

    ReplyDelete
  55. We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming (7+ years) will ensure that we will deliver our best in python training in vijayawada. , and we believe that no one matches us in this context.

    ReplyDelete
  56. We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming (7+ years) will ensure that we will deliver our best in python training in vijayawada. , and we believe that no one matches us in this context.

    ReplyDelete
  57. Study Machine Learning Training in Bangalore with ExcelR where you get a great experience and better knowledge .
    Business Analytics course

    ReplyDelete
  58. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. machine learning courses in Bangalore

    ReplyDelete
  59. Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing..

    best aws training in bangalore
    aws tutorial for beginners

    ReplyDelete
  60. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    data analytics courses

    ReplyDelete
  61. I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, microsoft azure training I feel happy about it and I love learning more about this topic.

    ReplyDelete
  62. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
    courses in business analytics

    ReplyDelete
  63. cool stuff you have and you keep overhaul every one of us
    digital marketing courses

    ReplyDelete
  64. More Info
    I have express a few of the articles on your website now, and I really like your style of blogging. I added it to my favorite’s blog site list and will be checking back soon

    ReplyDelete
  65. if you want to learn digital marketing in mumbai. excelr solutions providing best AI course in mumbai.for more details click here

    digital marketing courses mumbai

    ReplyDelete
  66. Effective blog with a lot of information. I just Shared you the link below for ACTE .They really provide good level of training and Placement,I just Had J2EE Classes in ACTE , Just Check This Link You can get it more information about the J2EE course.

    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete

  67. This is most informative and also this post most user friendly and super navigation to all posts. Thank you so much for giving this information to me.Salesforce training in Chennai.
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  68. Thank you for sharing such a nice and interesting blog with us regarding Java. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information. I would like to suggest your blog in my dude circle.
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  69. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    data science course

    ReplyDelete
  70. This post gives me detailed information about the .net technology. I am working as trainer in leading IT training academy offering Dot Net Training in Chennai and i use your guide to educate my students.
    Your work is very good and I appreciate you and hopping for some more informative posts



    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery

    ReplyDelete
  71. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.

    selenium training in chennai

    selenium training in chennai

    selenium online training in chennai

    selenium training in bangalore

    selenium training in hyderabad

    selenium training in coimbatore

    selenium online training

    ReplyDelete
  72. Attend online training from one of the best training institute Data Science Course in Hyderabad

    ReplyDelete
  73. Wow, this post is pleasant, my younger sister is analyzing such things, thus I am
    going to tell her.The greatest assortment of openings from the most respectable online gambling club programming suppliers are sitting tight for you to invest some energy playing their hits.
    Java training in Chennai


    Java Online training in Chennai


    Java Course in Chennai


    Best JAVA Training Institutes in Chennai


    Java training in Bangalore


    Java training in Hyderabad


    Java Training in Coimbatore


    Java Training


    Java Online Training

    ReplyDelete
  74. If you live in Delhi and looking for a good and reliable vashikaran specialist in Delhi to solve all your life problems, then you are at right place. The greatest assortment of openings from the most respectable online gambling club programming suppliers are sitting tight for you to invest some energy playing their hits.
    Java training in Chennai


    Java Online training in Chennai


    Java Course in Chennai


    Best JAVA Training Institutes in Chennai


    Java training in Bangalore


    Java training in Hyderabad


    Java Training in Coimbatore


    Java Training


    Java Online Training

    ReplyDelete
  75. I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously in their life, he/she can earn his living by doing blogging.thank you for this article.
    angular js training in chennai

    angular js training in velachery

    full stack training in chennai

    full stack training in velachery

    php training in chennai

    php training in velachery

    photoshop training in chennai

    photoshop training in velachery



    ReplyDelete
  76. Thanks for provide great informatic and looking beautiful blog, really nice required information & the things i never imagined and i would request, wright more blog and blog post like that for us. Thanks you
    DevOps Training in Chennai

    DevOps Online Training in Chennai

    DevOps Training in Bangalore

    DevOps Training in Hyderabad

    DevOps Training in Coimbatore

    DevOps Training

    DevOps Online Training

    ReplyDelete
  77. Nice article i was really impressed by seeing this article, it was very interesting and it is very useful for me.This is incredible,I feel really happy to have seen your webpage.I gained many unknown information, the way you have clearly explained is really fantastic.keep posting such useful information.
    Full Stack Training in Chennai | Certification | Online Training Course
    Full Stack Training in Bangalore | Certification | Online Training Course

    Full Stack Training in Hyderabad | Certification | Online Training Course
    Full Stack Developer Training in Chennai | Mean Stack Developer Training in Chennai
    Full Stack Training

    Full Stack Online Training





    ReplyDelete
  78. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.

    angular js training in chennai

    angular training in chennai

    angular js online training in chennai

    angular js training in bangalore

    angular js training in hyderabad

    angular js training in coimbatore

    angular js training

    angular js online training

    ReplyDelete
  79. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!

    Simple Linear Regression

    Correlation vs Covariance

    ReplyDelete
  80. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.keep it up!!

    Android Training in Chennai

    Android Online Training in Chennai

    Android Training in Bangalore

    Android Training in Hyderabad

    Android Training in Coimbatore

    Android Training

    Android Online Training

    ReplyDelete
  81. Thanks for giving me the time to share such nice information. Thanks for sharing.data science course in Hyderabad

    ReplyDelete
  82. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!

    acte reviews

    acte velachery reviews

    acte tambaram reviews

    acte anna nagar reviews

    acte porur reviews

    acte omr reviews

    acte chennai reviews

    acte student reviews

    ReplyDelete
  83. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance the knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got a good knowledge.
    IELTS Coaching in chennai

    German Classes in Chennai

    GRE Coaching Classes in Chennai

    TOEFL Coaching in Chennai

    spoken english classes in chennai | Communication training

    ReplyDelete
  84. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.



    AWS Course in Chennai

    AWS Course in Bangalore

    AWS Course in Hyderabad

    AWS Course in Coimbatore

    AWS Course

    AWS Certification Course

    AWS Certification Training

    AWS Online Training

    AWS Training

    ReplyDelete
  85. <a href="https://www.excelr.com/business-analytics-training-in-pune/”> Business Analytics Courses </a>
    I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !

    ReplyDelete
  86. <a href="https://www.excelr.com/business-analytics-training-in-pune/”> Courses in Business Analytics</a> have express a few of the articles on your website now, and I really like your style of blogging. I added it to my favorite’s blog site list and will be checking back soon…
    I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !

    ReplyDelete
  87. very well explained. I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
    Logistic Regression explained
    Correlation vs Covariance
    Simple Linear Regression
    data science interview questions
    KNN Algorithm
    Bag of Words

    ReplyDelete
  88. This blog is really helpful to deliver updated educational affairs over internet which is really appraisable. I found one successful example of this truth through this blog. I am going to use such information now

    Data Science Training in Chennai

    Data Science Training in Velachery

    Data Science Training in Tambaram

    Data Science Training in Porur

    Data Science Training in Omr
    Data Science Training in Annanagar

    ReplyDelete
  89. It's a Very informative blog and useful article thank you for sharing with us, keep posting learn more about BI Tools Thanks for sharing valuable information. Your blogs were helpful to tableau learners.
    DevOps Training in Chennai

    DevOps Course in Chennai

    ReplyDelete
  90. Your amazing insightful information entails much to me and especially to my ExcelR Data Analytics Courses

    ReplyDelete

  91. Thank you for excellent article.You made an article that is interesting. Hair Fall Control Hair Oil

    ReplyDelete
  92. Good post and informative. Thank you very much for sharing this good article,
    it was so good to read and useful to improve my knowledge as updated, keep blogging.
    Thank you for sharing wonderful information with us to get some idea about that content.
    Data Science Training In Pune

    ReplyDelete
  93. Infycle Technologies, the No.1 software training institute in Chennai offers the No.1 Big Data Hadoop training in Chennai for students, freshers, and tech professionals. Infycle also offers other professional courses such as DevOps, Artificial Intelligence, Cyber Security, Python, Oracle, Java, Power BI, Selenium Testing, Digital Marketing, Data Science, etc., which will be trained with 200% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7502633633 to get more info and a free demo. No.1 Big Data Hadoop Training in Chennai | Infycle Technologies

    ReplyDelete
  94. Fantastic blog i have never ever read this type of amazing information. Elder Maxson Coat

    ReplyDelete
  95. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! Cross Country Movers

    ReplyDelete
  96. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Billionaire Boys Club Varsity Jacket

    ReplyDelete
  97. This tutorial was very helpful for us and I hope everyone with same difficulty finds this gem.
    Data science courses in Ghana

    ReplyDelete
  98. I really appreciate how clear and straightforward this article is! It provides valuable insights without overwhelming the reader with too much information. I’m sure many others will benefit from this guide. Thanks for sharing your knowledge.
    Data Analytics Courses in Delhi

    ReplyDelete
  99. This is a fantastic resource for aspiring data scientists! The details about various courses are invaluable. I can’t wait to explore these data science courses in Faridabad. Appreciate the insights!

    ReplyDelete
  100. Cross-domain JSONP is a fascinating topic that opens doors to seamless data sharing across different domains! Your insights on implementing this with jQuery and Servlet or JAX-WS will be invaluable for developers looking to enhance their web applications. Keep sharing your knowledge—you're paving the way for more collaborative and interactive web experiences!
    Data Science Courses in Singapore

    ReplyDelete
  101. This Java J2EE tutorial on Cross-Domain JSONP using jQuery and Servlets is incredibly helpful for anyone preparing for the SCEA certification. The author provides clear explanations of complex topics like CORS and JSONP, along with practical code examples that make it easy to understand. The step-by-step guide for implementing a servlet to handle JSONP responses is particularly valuable. Overall, a fantastic resource for developers looking to tackle cross-domain issues in their applications!
    data analytics courses in dubai

    ReplyDelete
  102. This is a great overview of solving cross-domain issues! I appreciate how you explained the concepts clearly and provided practical solutions.
    Data science courses in Bhutan

    ReplyDelete
  103. This article provides an excellent and thorough explanation of solving cross-domain issues with JSONP using JAX-WS, Servlet, and jQuery. The detailed breakdown of how JSONP works, along with the implementation of a servlet to act as a wrapper for a JAX-WS web service, offers a practical solution for anyone dealing with cross-origin resource sharing problems.
    Data science courses in Mysore

    ReplyDelete
  104. "This is a really informative post. Data science is undoubtedly one of the most sought-after skills today, and it's great to know that there are courses available in Iraq for people who want to pursue this career path. For more information, don't forget to visit Data science courses in Iraq."

    ReplyDelete
  105. Thank you for sharing this post on solving the cross-domain problem using JSONP with jQuery and Servlets/JAX-WS! The article provides a practical solution for working with cross-domain requests, making it a valuable resource for developers dealing with client-server communication issues in web applications. The step-by-step explanation is especially helpful for those looking to implement this in their own projects.

    Data science course in Lucknow

    ReplyDelete
  106. This blog provides a clear explanation of solving cross-domain issues using JSONP. A helpful resource for developers dealing with API integration challenges!
    Data science course in Gurgaon

    ReplyDelete
  107. The Reddy Mails Blog discusses solving cross-domain issues using JSONP, providing solutions to handle data retrieval across different domains in web development, ensuring seamless integration and functionality.

    Data Science Course in Delhi

    ReplyDelete
  108. Great tutorial! You've explained the concepts of Java J2EE in a clear and concise manner, making it easier for beginners to follow.
    Data science course in Bangalore

    ReplyDelete
  109. This approach to handling cross-domain issues with JSONP is both practical and effective, especially when dealing with server-side services that don't support CORS. By using a simple servlet wrapper and the callback function in jQuery, you can seamlessly retrieve JSON data from a different domain without running into security restrictions. It's a clever workaround that maintains both compatibility and performance!
    Data science course in Navi Mumbai

    NILANJANA B
    NBHUNIA8888@gmail.com
    Data science course in Navi Mumbai
    https://iimskills.com/data-science-courses-in-navi-mumbai/

    ReplyDelete
  110. Thanks for sharing this insightful post! The solution to the cross-domain problem using JSONP is very helpful, especially for web developers facing similar challenges. Your clear explanation and step-by-step approach make it easy to understand. Keep up the great work!
    Data science courses in Bangladesh

    ReplyDelete
  111. This post provides an excellent practical guide for addressing cross-domain issues in web development using JSONP. This approach is especially useful for scenarios where CORS isn't viable, making it a handy technique for legacy systems or specific client requirements.

    Digital marketing courses in mumbai

    ReplyDelete
  112. I really enjoyed this post! You’ve managed to make a complex topic feel so approachable. Thanks for sharing your knowledge!
    GST Course

    ReplyDelete
  113. The insights you shared were both informative and thought-provoking. I especially appreciated [mention a specific point or idea from the post]. It’s clear that a lot of effort went into this, and I look forward to reading more of your content in the future. Keep up the fantastic work.
    IIM SKILLS Data Science Course Reviews

    ReplyDelete
  114. The Java J2EE tutorial offers a comprehensive guide to building enterprise applications using servlets, JSP, and EJB. It provides practical examples and step-by-step instructions for developing scalable, secure web applications.
    Data Science Courses in Uzbekistan

    ReplyDelete