Hi, what do you think is the best free resource for learning the Spring framework?

|
Hey_vs 2022-07-14 15:33:36
itshopeworId 2022-07-14 15:17:27
I have an arraylist like [abc] how can I convert it into “abc”
I have tried .toString() function as well it doesn’t work
Please help

Try something like string.join(” ,”, arraylist)….

Hey_vs 2022-07-14 15:33:53
Hey_vs 2022-07-14 15:33:36
Try something like string.join(” ,”, arraylist)….

Delimiter can be anything of our choice

Mzr 2022-07-14 15:35:41
sometimes spring integration stuck and can not poll the file in directory that specify to it
any idea?
itshopeworId 2022-07-14 17:24:01
Hey_vs 2022-07-14 15:33:36
Try something like string.join(” ,”, arraylist)….

this worked thanks

pragya0508 2022-07-14 18:22:11
Hey any one know about what is uuid and how to generate random number with uuid I don’t know too much about it please someone explain
ashishjuyal 2022-07-14 18:32:41
pragya0508 2022-07-14 18:22:11
Hey any one know about what is uuid and how to generate random number with uuid I don’t know too much about it please someone explain

There is a nice article here https://www.baeldung.com/java-uuid . You can later come with the followup questions

Guide to UUID in Java | BaeldungBaeldung
A quick and practical introduction to UUID in Java.
Vicky 2022-07-14 18:32:43
Hi
I need proxy
Vicky 2022-07-14 18:33:07
Anyone plz dm
shiv 2022-07-14 18:52:14
I made a todo app in spring boot and angular. Need code review. Can anyone help in code review . I am fresher. I do not have that much experience in writing quality code.
pragya0508 2022-07-14 18:58:23
ashishjuyal 2022-07-14 18:32:41
There is a nice article here https://www.baeldung.com/java-uuid . You can later come with the followup questions

I want to generate 10 digit number like 1234567892 so please can help me

Chethan Gowda 2022-07-14 19:01:29
Hi need back support on java anyone plz dm
S!D 2022-07-14 19:09:30
Anyone can share with me example link where it was having one get invoke api that will get some data that data will be getting use during making post request?
Aishuu 2022-07-14 19:14:18
Hey anyone who know spring boot plz dm
Backhere 2022-07-14 19:26:16
Chethan Gowda 2022-07-14 19:01:29
Hi need back support on java anyone plz dm

yup??

krishnamoorthi1804 2022-07-14 19:27:22
pragya0508 2022-07-14 18:58:23
I want to generate 10 digit number like 1234567892 so please can help me

Use math.Random()

Sanjay 2022-07-14 19:31:38
Any one have spring security ashok it
pragya0508 2022-07-14 19:33:40
krishnamoorthi1804 2022-07-14 19:27:22
Use math.Random()

No i have to use uuid for it

ashishjuyal 2022-07-14 19:39:35
pragya0508 2022-07-14 19:33:40
No i have to use uuid for it

UUID is not for that purpose, you have to build your logic using math.Random()

ashishjuyal 2022-07-14 19:45:20
shiv 2022-07-14 18:52:14
I made a todo app in spring boot and angular. Need code review. Can anyone help in code review . I am fresher. I do not have that much experience in writing quality code.

Please share your GitHub url

pragya0508 2022-07-14 19:45:59
ashishjuyal 2022-07-14 19:39:35
UUID is not for that purpose, you have to build your logic using math.Random()

Ohk but to generate 10 digit number but i have to use uuid

ashishjuyal 2022-07-14 19:48:49
pragya0508 2022-07-14 19:45:59
Ohk but to generate 10 digit number but i have to use uuid

Is this an interview question?

RK_Devil_Darkking 2022-07-14 19:55:27
pragya0508 2022-07-14 19:45:59
Ohk but to generate 10 digit number but i have to use uuid

https://www.javatpoint.com/java-uuid#:~:text=A UUID is a class,util package.

Java UUID – Javatpointwww.javatpoint.com
Java UUID with oops, string, exceptions, multithreading, collections, jdbc, rmi, fundamentals, programs, swing, javafx, io streams, networking, sockets, classes, objects etc,
shiv 2022-07-14 20:03:57
ashishjuyal 2022-07-14 19:45:20
Please share your GitHub url

http://Github.com/shiviishiv7/todoApp

GitHub – shiviishiv7/todoAppGitHub
Contribute to shiviishiv7/todoApp development by creating an account on GitHub.
ashishjuyal 2022-07-14 21:20:16
shiv 2022-07-14 20:03:57
http://Github.com/shiviishiv7/todoApp

You have done it nicely. I liked the way you have programmed to an interface. This will give you a lot of flexibility and provides loose coupling and will also help you in writing unit tests. Few suggestions:

1. The package name in java should start with a lowercase

2. Inside TodoRepoImp::getAllTodo() you can try using

var rowMapper = BeanPropertyRowMapper.newInstance(Todo.class);
List<Todo> rows = template.query(q, rowMapper);
This will help you in getting rid of a lot of boilerplate code you are doing. You can also try using the same suggestion in getTodoById() method

3. Write unit tests

I hope this helps and all the best for your future endeavors

Shubham Singh 2022-07-14 23:46:27
Anyone has
spring
and
spring boot
Interview questions?
Palpendiculal🤣 2022-07-15 01:27:28
Hey can anyone share their java practice resources with me? I’m good at basics (I think) I want to be good at it at intermediate level
Thanks
shiv 2022-07-15 06:06:42
ashishjuyal 2022-07-14 21:20:16
You have done it nicely. I liked the way you have programmed to an interface. This will give you a lot of flexibility and provides loose coupling and will also help you in writing unit tests. Few suggestions:

1. The package name in java should start with a lowercase

2. Inside TodoRepoImp::getAllTodo() you can try using

var rowMapper = BeanPropertyRowMapper.newInstance(Todo.class);
List<Todo> rows = template.query(q, rowMapper);
This will help you in getting rid of a lot of boilerplate code you are doing. You can also try using the same suggestion in getTodoById() method

3. Write unit tests

I hope this helps and all the best for your future endeavors

Thanks you for giving the feedback. I will update those feedback in my code

Spark 2022-07-15 06:22:06
shiv 2022-07-14 20:03:57
http://Github.com/shiviishiv7/todoApp

You can also use lombok api to reduce the boiler plate coding

Spark 2022-07-15 06:29:56
shiv 2022-07-14 20:03:57
http://Github.com/shiviishiv7/todoApp

And also implement the commandLineRunner in service implementation if possible..

ehsanfaraji1300 2022-07-15 06:40:39
Hi, what do you think is the best free resource for learning the Spring framework?
|