Saket Barve

Ranch Hand
+ Follow
since Dec 19, 2002
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 Saket Barve

Thank you John, for the clarification and detailed response .

For me, this translates into leveraging PCF (which is where we, as an org, are headed for now).
1 year ago

Hi John,

Welcome to the forum, and best wishes with the Spring Microservices in Action book.

In going through GitHub source code it does look Docker is mandated. Now how much of a learning is curve is that, and is there cheat sheet to that effect in the appendix  section? For a typical work laptop how much of a drag it is to install and run this locally (in addition of the bunch of other mandatory running services, not to mention the bunch of libraries that we'd need to keep going - Eureka, Zuul, and so on)?

Alternately, are the exercises meant to be practiced and run exclusively in a dev or remote box?

1 year ago
Variable input is not initialized and your main method is using variable scan
5 years ago
Charles, depends on what you are seeking to build. There was a good answer provided here: which details the difference between Action Framework and Component Framework. Is your question purely from learning point of view?
Thank you James, for the detailed response.

Warm welcome to James Peterson on JavaRanch!

I have a couple of quick questions for James pertaining to SeifStudy Kit and the Simulator:

1. Priced at $75 and $50 respectively, isn't it rather steep for certification where abundant and reliable material is already available (HFJS, Charles Lyons, Pitor's tests to name a few off the bat). What benefits do the the separate costs for each package offer?
2. Both are essentially question banks so if one has to make one choice how would go about doing so?

BTW, used WhizLabs for my SCJP and had found it very useful then.

It looks like the connection is getting closed out before or during your request. Can you share your source code to help debug?
7 years ago

Kumara Sharma wrote:

If I import the whole package, all classes in the package are available to my class.
What happens when I import the whole package. Will all the classes are loaded into JVM?

It won't load it'll merely tell the compiler where to look for the class(es). Performance should not really be an issue.

8 years ago

You'll want to consider using final if logic demands that the value not be modified from its original. Were you asking about the grammar around it?
8 years ago
Dhwani, a try-catch block will be required if the method were throwing an exception. In this case you are simply returning an exception just as you would any other object.
Why don't you share the actual code you've written to generate this query?
I feel your named query:

may need modifications to include the return type and its details. Did you take a look at Native SQL?

I opted to simply use CallableStatement in tandem with Hibernate's Session and Connection objects in order to invoke the only stored procedure in the application I am presently working in.

Let us know which path you take.
Since speed is a criteria, it has to be HashSet over TreeSet. The TreeSet stores the items in its natural order, which cannot be changed and which also makes the access slower.