This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!

Mohammed Sardar.

Ranch Hand
+ Follow
since Jun 22, 2014
Mohammed likes ...
Java jQuery Spring
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mohammed Sardar.

Can some one help me remove the nationality specific in above ? I don't want to use any specific national that way.

Thanks Rob. So,  are you trying to say why don't I prefer JSON rather XML. But just started exploring web services concept. Not really sure what is going on. So that raised this for help. But the learning video rendered the same XML well and fine. So, Let me try to change to JSON.
3 months ago
Have created a simple Jersey Version of web services Project and trying to render a XML Format of List Produced by a Resource. And Below are my created code. when trying to reach a myresource path getting only the least added XML element and it's getting overridden. Debugged and tried changing code with no clues.  Can some one give me a idea of help on this to debug further ? Thanks



3 months ago
I'm learning RESTFUL Web Services through some videos and I work in Spring MVC for last 2 years and there is no WS.  There was a question on WS, after I explained RESTController and GET Request, Produces and All. After all these are done how to expose your web services to users ? I'm Keep looking over net and getting answers only as on how to consume WS ? Does that what questions mean ? Please correct if my understanding is not right. So, In order to get ready for that Question, Do I need to practice on @CONSUMES(..) ?  In order to test this scenario  do we have to use only POSTMAN as a tool ? In interview aspect how this can be self trained ? Suggestions are highly appreciated.

3 months ago
Nice to have you here. Warm welcomes Ben Forta with Cherry Flowers.
3 months ago
The request in fact doesn't come to specified controller instead will be routed by Front controller. Then as directed by FC request will reach exact request mentioned Ajax.
4 months ago
Welcome Karl Beecher ***
    Hope we don't need to read Good programming book if we read this Bad Programming Practice   . Thanks for brought to us.

Warm Regards ...
6 months ago
Good Luck Authors,

  Just gone through the index page and excited to read many new features are covered in this book also with SS(Spring Security) stuff. When coming to App Security, can we expect to enrich our spring knowledge so that we can also code including Banking and Financial Products ? Do we have any hands on practicals with this book?

Mohammed Sardar

1 year ago
Warm Welcomes Sharma & Ashish Sarin. Have a nice time here and Thanks...

1 year ago

Marco Behler wrote:I'd also like to add that it's important to : relax.

Also I find it helps to just check out source code from GitHub and read it. Say you want to see how a web framework like Wicket renders a textbox on a webpage -> find out. How does VLC open up a video file? -> find out.  Simply reading foreign code is a great exercise (but daunting sometimes).

Thanks Marco for your great time. May I ask what is that  "Simply reading foreign code is a great exercise "-> foreign code ? How can we read more on foreign code and this helps us to improve professional coding style ?

Kindest Regards
Mohammed Sardar
1 year ago

Pete Letkeman wrote:A few follow up questions:

  • Is this with regards to an app that you have created?
  • Which device(s) do you have and what version(s) of Android are you using?

  • I suspect that this could be happening with some of the old apps.
    I know that there are two different versions of the Android environments.
    As such, my best guess is that when your device starts up Android converts some apps to the native Android environment.
    A few other possibilities are could be that there isn't enough storage space for the apps to be upgraded.
    Possibly your device does not have enough RAM, or your device does not meet some other hardware requirements for the update to the app.

    There could be an upgrade to the version of Android on your device.

    I do know that Google does update Google services and apps on a fairly regular basis and maybe this is what you are experiencing?

    There are plenty of unknowns right now, so I'm just taking wild guesses.

    Pete Thanks , I can understand your unknown Questions and thanks for your time.  This is not app that I created. This is about Android I'm about talking about.  This is happening only in recent days, When ever mobile goes power outage and if I start again it's keep upgrading every time. I noticed same many times. I would like to learn from the troubles so that trying to trouble shoot with some help from experts.

    So, answer to UK Questions are

  • Is this with regards to an app that you have created?
  •   No, This is Android itself talking about.
  • Which device(s) do you have and what version(s) of Android are you using?
  • I'm using Lenova A6000 Plus with  Android version number :5.0.2
    1 year ago
    Hi All,

      Whenever my mobile goes off due battery down, Android is keep upgrading after manually switch on once battery is charged with 1%. And yes this happens at every time. How come there can be upgrades many times a day ? I noticed each time upgrade is completed till the last patch. How can we investigate or troubleshoot on that ? I need to learn or know this with out shop keeper.  Help/ideas is much appreciated.

    When mobile is off mode and charging shows 1% charging, when mobile is on and charging shows 16% !!, some times 35%!!!,So is the issue mobile or Android software ? Any clues for debugging this issue ?

    Best Regards
    Mohammed Sardar
    1 year ago
    Hi All,

       Please share your ideas to get list of sample Apps or Specifications to whom just start building Java Apps. Thoughts on requirements gathering and technical design spec can also be added. Will be very helpful for many starts and give confident to start the first step. As we say practice and practice coding and we need something to practice, Of course we can search but not the same from Java Experience around here. Please list your ideas utilities too and that will be great for us.

    Eg. 1. Login App  
         2. Library management system
         3. Potato merchant system (Yes, We did)
         4. Bicycle Rent Shop App
         5. Ice cream Shop App
         6. Parking Ticket System
         7. Address Book
         8. Finance tracking
         9. Utilities
         10. More Apps

    A simple document link will also really help to read and understand the requirement clearly, please link here. So, Your comments are welcome.

    Kindest Regards

    1 year ago
    To add some more to last post, Like the Project Ruler has many mathematical  challenges along with well explained spec/required. Of course, we can also use listed in Project Ruler but you know there are with whom if Maths is not happy.

    " If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

    Find the sum of all the multiples of 3 or 5 below 1000."

    1 year ago
    Hi Jj Hernandez, Welcome to Code Ranch . Please Don't panic and you are on right track if you have started ask questions at this stage. Many nice people are around in this forum who guide us well like one above post.

    Carey Brown Thanks a lot for sharing your experience and not just as comments. I liked that very much. Lots of practice is very important. And you have provided some sample apps too to start practicing.

    And @Carey Brown,Have you crossed any links that provide sample specifications of a project that we can make use to start develop and do further enhancements if required or can ask here for additional ideas ?

    1 year ago

    Emily Green wrote:Hey. My GET controller Requests Parameter as there's two other parameters that I need to pass.
    But I'm not sure how to pass var1 var2 without them passing through the URL. What do you mean by only @Param ? What would that look like ?
    modelAndView.addObject("var1",var1) and then how to pass it?
    Thank you so much

    OK, I guess you are on right track. Now you have added var1 using addObject. Now you will return this MNV as a ResponseBody annotation and then access that var1 in your view.  
    1 year ago