Win a copy of Rust Web Development this week in the Other Languages forum!

Nikhil Arora

+ Follow
since Oct 24, 2016
Nikhil likes ...
Eclipse IDE MySQL Database Java
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 Nikhil Arora

Where can I post the message so that I can ask Joshua a query about the book? and also, win the book.
3 years ago

Tim Moores wrote:How are you planning to get a job requiring significant experience if you are just a beginner?

I am good with Java, worked on Andriod Development too and touched Spring now and then. To advance my skills I want to learn Hibernate. I already have enough things in my kitty to change my job but now I would like to work on Web Development, hence I want to learn Spring.
I have never used/installed or read Hibernate in my life. I am good with Java and practicing coding regularly. I have also learnt Spring's basics and fundamentals (DI,IOC etc) recently. I want to start with Hibernate. I would like to start from a course which caters to beginners. Any video tutorials will be preferred as I need to start with interviews for Software Development jobs for experience of about 3 years.

Richard Hayward wrote:Another one at Udemy is 'Spring & Hibernate for Beginners' from Chad Darby. I've not followed this particular course, but I did do his Udemy jsf course and greatly like his style. Very clear explanations.

I'd never consider it at the normal price, but Udemy seems to have one of their many sales on right now. Courses at £10.

Thanks Richard. I'd look into it.
4 years ago

L Foster wrote:Yes, that's the right course.  He is actually very serious about what he does, and his level of experience shows.  Good luck.

Thanks L. I would try that if my current course does not suits me.
4 years ago

L Foster wrote:There is an instructor on Udemy going by the title "Spring Framework Guru".  I have been learning his core spring framework course.  I got the course on the recent Udemy sale.  I do not know offhand what they charge.  But I like the course, and it is moving at a reasonable pace, where you get a demo and you can follow along.  He builds up the levels of indirection gradually, so you are not just thrown into an @Mess to deal with.  I recommend that, even though I am nowhere near finished yet.

Thanks L, I checked it out and I hope you are talking about this.
Though I have found another course and I have started that. Lets see how it goes. I would still appreciate any further recommendations from our forum members.
4 years ago

Tim Nachreiner wrote:Java Brains on YouTube would be an excellent start:

Thanks I would check these videos out. Seems like they have covered almost everything with the basics.
4 years ago

Jesper de Jong wrote:Welcome to the Ranch.

Check out the guides on the Spring Framework website - although most of them assume you already know at least the basics of the Spring Framework.

You can also have a look at the reference documentation.

The first topic to learn about is dependency injection, and the Spring application context. That is really what's at the basis of the Spring Framework, and it's important that you understand these things first. Search the Web for tutorials about dependency injection with Spring.

Thanks for this. Would it be a good start for a newbie like me?
4 years ago
I have never used Spring, I do not know about its basics. To give you all some background, I am fairly good with Java, I have already read SCJP and doing fine with it. I have never used or read anything about Spring and I want to build up my conceptual understanding so that I can face some interviews where basic knowledge of Spring framework is added advantage with having worked in Java.
4 years ago
Hey Henry Thanks for your reply. I have a few followup questions though.
When execution comes to "b.start()" why program always goes to synchronized block in class ThreadA, why don't ThreadB's "run()" method starts executing.
Also, you wrote

Henry Wong wrote:

Nikhil Arora wrote:
When the object is of class ThreadB then why main() thread of ThreadA is able to synchronize object b.

A thread running code may synchronize on any object. The are no restrictions that limits this based on where the code is located.


Which thread is synchronizing "b". Are you referring to "main()" thread here?
5 years ago

I am unable to understand the code flow and how run method is being called in the above programs. When the object is of class ThreadB then why main() thread of ThreadA is able to synchronize object b. Apart from that when wait() is encountered by the main() thread, how the executions shifts to run() in ThreadB.
5 years ago

Junilu Lacar wrote:You wrote:

Nikhil Arora wrote:What if I do not want doStuff to access my variable's value?
Line number is 3 and the variable name is x.

Your question is very illogical. You said you understand scoping. Then you ask what if you don't want doStuff() to access variable x.  Then why declare x inside doStuff() if you don't want doStuff to access it?  Declaring it private is illegal but let's just say it wasn't. How is that even logical, again, given that x is inside the doStuff() body? What does "private" even mean in this context then? Of what use is a variable if you can't access it? Honestly, this is an absolutely nonsensical scenario you are proposing and an even more nonsensical question.

Junilu, thanks for your sincere effort. I get it though but sometimes you need to confirm your insights and findings from someone who is better than you so that you can be sure that you are thinking in the right direction. Thanks for being that someone. I get it now
5 years ago

Junilu Lacar wrote:

Nikhil Arora wrote:What if I do not want doStuff to access my variable's value?

And just like in programming, you have to be precise. Exactly what do you mean when you refer to "my variable's value"? What variable are you referring to here? Point out the exact line number and the name you used.

Line number is 3 and the variable name is x.
5 years ago