Rishi Chopra

Ranch Hand
+ Follow
since Mar 07, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rishi Chopra

Hi Venkat,

Would this book cover internals of how lambdas are implemented in Java and also would it cover API upgrade around lambdas beyond Java 11

Regards
Rishi
7 months ago
Interesting name of the book, I am really curious to know what will be in the book

Improving Creativity techniques? Exercises?
9 months ago
Does this book cover no sql databases

Also does it cover concepts like NamedEntityGraphs etc..

Thanks
Rishi
11 months ago
Hi,
Thanks for your reply

Not really looking to remove mocks and stubs but use of powermock to mock statics, test private methods seems to be anti pattern used in a monolith at my work place.

I beleive these are not good patterns so just thought to see if mockito can help ease the pain and help us with removing these anti patterns in the codebase from testing perspective

Thanks
Rishi
1 year ago
Hi,

I have personally used mockito a lot for various projects, I have lately joined a company where we have this big monolith and the test suite I have see uses lot of PowerMockito ( probably around mockito statics and usage of whenNew)

Can you suggest if your book or generally there is a way to remove these anti patterns and thus use of powermockito from codebase gradually ?

Thanks
Rishi
1 year ago

Michał Płachta wrote:I tried to show only cor FP concepts that are not only available in Scala, Haskell, but also in F#, and even Java or Python (like pattern matching that has just been introduced for both!)



It would be great to read this book.
1 year ago
What would this book be about ? Core Functional programming concepts that can be applied to languages like Scala, Haskell?
1 year ago
How does this paradigm fits with OOP, DOP etc..

1 year ago
Hi,
I am a developer in a financial organisation and have not heard about this paradigm

What is it, where is it best applied onto, how does it differ from Object oriented & functional paradigm  ?

Regards
Rishi Chopra
Thanks Joe

1. Without extending ActionSupport it does not work or am i missing something?

2. But if you build your war using maven (mvn clean package) it places the HelloAction-validation.xml away from the .class files
It places it alongside classes folder. ( May be maven war plugin can be configured to do it as well) .

Thanks & Regards,
Rishi.
14 years ago
Hi,

I have written a basic example for struts 2 with validation framework

JSP Page:- having a single field named 'name' and submit button
Action class :- com.package.HelloAction
struts.xml : the action tag has a result with type 'input' and 'success'

HelloAction-validation.xml :- having a requiredstring validation on the name field.

The question is:-
1) why i have to extend ActionSupport to make it working..Isn't that a question against POJO based programming?
2) why is HelloAction-validation.xml needs to be placed under com.package to make it working
Should it not be alnogside classes folder??? the whole concept of configuration files under src package is really confusing??

Thanks & Regards
Rishi.
14 years ago
I have been unable to get the validation framework working even after extending from ActionSupport

Please help?
14 years ago
Welcome Craig

Have learnt so much from Spring in Action 2...expecting an interesting read about Spring 3



14 years ago