Kathir jeyap

Ranch Hand
+ Follow
since Jan 31, 2018
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
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kathir jeyap

Hi,

I went through https://www.callicoder.com/reactive-rest-apis-spring-webflux-reactive-mongo/ and need clarifications on the below

In previous version we have to specify as below to return the output as Json

@RequestMapping(value = "/getString", method = RequestMethod.GET, produces = "application/json")

How to return the response as Json in new Spring 5 ?

In earlier version we can return a stream directly to the browser to process to the front end. either stream or base64 url. How to return a stream in the current spring 5 version

Where i can find out the syntax differences between spring earlier and spring 5 version

Thanks.
2 months ago

I come across the following url https://dzone.com/articles/java-19-reflection-and-package-access-changes

Is Java Reflection is Deprecated in version 9 and later?
How will the Spring works in Java 9 and later versions?
Does Spring uses bytecode internally or how does it executes the method in all cases?
Does Spring uses CGLIB and low level ASM in all cases?

Thanks.
2 months ago
Hi,

Suggestion from a spring expert saying that we should expose both

1. Controller and Service class as REST APIs
2. When a user sends a request, the controller receives the request. Later the controller should invoke a REST API call to the service method

He said this is the latest design and it has lots of advantages on the same.

a. Is this is the right way ?
b. What does this design is being called ?
c. Advantages and dis-advantages of the above.

Thanks.
2 months ago
Thanks for your detailed explanation, Tim Holloway.

The client will be giving us just an API with credentials once POC is done and we need to connect via Socket

Assume we need to use Socket and help me with the answers
2 months ago
Socket Testing With Credentials

We want to test Socket program where

a. we need to pass credentials - user name and password
b. after success, we need to send couple of request to get the response

1. Is any Free API available which accepts credentials and can test couple of request ?

2. Is there is any free windows tool is available to act as server to configure and connect using credentials and provides responses when we connect the server. Couple of sample request and response to be tested.

Thanks.
2 months ago
Any other suggestions ?? Can you help me with good links to refer for quick development with Push Notifications ?? Planning to use Flutter Mobile Apps
3 months ago
Can you please help on the following clarifications, Tim ?

What are the differences between websocket vs TCP vs Push Notification ???
3 months ago
I am planning to build a mobile app to see the updates of stocks being added by the user as soon the price got updated.

Do we need to use Websocket or TCP n this case? Which one is better ?
Do we have any stock market test API's which supports Websocket or TCP to cross check the feasibility, stability, reliability and latency ?

Please Suggest.
3 months ago
I have used NamedParameterJdbcTemplate and resolved the problem. https://www.javatpoint.com/spring-NamedParameterJdbcTemplate-example
3 months ago
The above code is very vulnerable.

I'm looking to execute the method queryForList with the parameters. Please help me with a generic solution.
3 months ago
Hi,

Table name will be dynamic and need to return the list of objects dynamically. The parameters also dynamic however 4 parameters will be same for any table.

Method name accepts the table name and 4 parameters required to query any table

    List<?> conversations = jdbcTemplate.queryForList(
             "select * from "+ tableName + " where id=? and userName=? and
     password=? and tenantId=?" , paramsObjectArray);

tableName is a string which comes dynamically
paramsObjectArray is a Object[] which comes dynamically

Currently the query throws invalid column type.

Thanks.
3 months ago
Hi,

Couple of projects are coming for Java to DART conversion.

Is it DART is really worth in converting the existing Java applications ?

What are the differences between DART vs Java language ???

Thanks.
3 months ago
Zk is a kind of a (closed) web-application development and hosting environment to build applications which hides some of the web's complexity.

Vaadin is a framework for Java, which is a completely different language the JavaScript, comes also with completely different eco-system.

We need to develop a fully responsive web application and need to choose a fastest, reliable, scalable eco-system to kick off the project

We finally decided to go with MEAN.JS or MEAN.IO but not sure which one to choose

MEAN is a free and open-source JavaScript software stack for building dynamic web sites and web applications. The MEAN stack is MongoDB, Express.js, AngularJS, and Node.js.

Which one to choose MEAN.JS or MEAN.io ??? please kindly suggest

Any Open Source Tool is available to do the operations - signing, key etc., via java open source instead of command prompt
4 months ago
It doesn't help. can you please help me with the questions one by one?
5 months ago