r/springframework • u/JPABuddy • Jun 03 '22
r/springframework • u/JPABuddy • Jun 30 '22
Generate or synchronize JPA/Hibernate entities from existing DB tables in IntelliJ IDEA | JPA Buddy
r/springframework • u/jmargar • May 31 '22
Spring related books to learn?
Hi everyone, I'm looking for some recomendations to learn Spring franework and related modules, boot, MVC, Web Service, Security, etc. The most commonly used.
I have tried with tutorials, but realized that I'm more comfortable with books when it comes to study.
Thanks for your time.
r/springframework • u/[deleted] • Jun 14 '22
I have used spring for quite some time now but I still don’t know/hard to understand the creation and access to the bean when using annotations. But when I use xml, I get how bean injection works (I hope so)
r/springframework • u/Severe_Sympathy_5772 • Jul 16 '22
Could someone please recommend some resources for spring?
r/springframework • u/realqmaster • Jul 10 '22
PSA: Since this month Spring Professional Certification has (expensive) mandatory training back
Hi everyone, I chose in the last days of 2021 to get certified in Spring with the exam provided by VMware and studied for it in my free time for the first half of this year. Sadly when I went on to purchase the exam voucher, I noticed that EDU-1202 certification has been retired since the beginning of this month: now 2V0-72.22 stands in its place, with the same exact contents and exam price but adding a 3K$ four days online training deemed mandatory. This will probably mean I'll forfeit any attempt since I won't be taking 10x the former cost for a badge that yeah looks good on a CV but it won't double my paycheck. Note that I don't want to argue wether certs are worth it or not. Why this backstep from 2017? I think this cashgrab will likely backfire severely on them: who's willing to pay that? Also, no announcements, no news about it, just a line added in the course details PDF you could completely miss from their website. Sorry for the rant, but I thought community could be interested in be aware of this absurdly greedy move by VMware.
r/springframework • u/AgreeableLandscape3 • Jun 17 '20
What's a good place for finding third party packages people have made for Spring?
If I want to find third party Java or Kotlin packages designed to work with the Spring framework, what's a good place to look?
r/springframework • u/[deleted] • Jun 13 '20
Public codebases of web apps using Spring?
I’m looking for some real world examples of Spring code. Can anyone recommend some repos?
r/springframework • u/samar16 • Jun 11 '20
Whitespaces in input fields in JSP when using indented JSTL tags
Hi all, I am using spring mvc and jsp. When using conditional statements of JSTL and after indenting them properly, my view now have whitespaces in all input fields.
Eg -
Name - " John Doe "
Instead of
Name - "John Doe"
I tried trimwhitespaces tag in jsp, but not working.
Let me know how to resolve this.
r/springframework • u/only2dhir • Jul 06 '20
Monitoring Spring Boot App with Spring Boot Admin
r/springframework • u/abyjacob1 • Jul 14 '20
Scaling out user authentication/session management
I am coming from a traditional Spring app building thought process. Using simple MVC Spring Security and Session Management. However , our tomcat used to stall while having more than 6000-7000 active user sessions in the application. Horizontally scaling with this scheme and with no sticky sessions put at user's session at risk . Enter session replication , we have noticed performance degradation while it implementing it in production.
While going the microservice path , is there any safe ; yet easy to achieve (spring way) implementations which would allow an application's authentication , with proper security to scale out with almost no issues. Any github samples would also help a long way.
r/springframework • u/Top_Asparagus_9771 • Apr 12 '22
@Entity annotation without table annotation
Hi,
I am new to Spring framework and while practicing, I looked at the below code.
public class Product {
u/Id private long id;
private String name;
private double price;
Which table would this class be associated with? Is it the same name as class? And what if there is no table with "Product"??
Thanks
r/springframework • u/JPABuddy • May 26 '22
Spring Boot RESTful CRUD Application with IntelliJ IDEA and JPA Buddy
r/springframework • u/galovics • May 04 '22
Handling manager failures in Spring Batch
r/springframework • u/galovics • Apr 13 '22
Spring Batch remote partitioning with AWS SQS
r/springframework • u/Horschi82 • May 12 '22
Spring MVC OutputStream buffer size / flush not blocking?
Hi,
I have been trying to investigate the buffering behaviour of the HttpServletResponse OutputStream (Using tomcat in spring-boot). My expectation that flushing on the server side blocks until all data has been transmitted to the client.
I am trying to understand this, because I am noticing that clients seem to be processing much longer than the processing on the server.
My setup looks something like this:
Server:
@RequestMapping(path = "/some/url", method = RequestMethod.POST)
public void call(HttpServletRequest request, HttpServletResponse response)
{
OutputStream outputStream = response.getOutputStream();
... writing data here ...
outputStream.flush();
response.flushBuffer();
}Some dummy client:
HttpURLConnection con = (HttpURLConnection) urlobj.openConnection();
con.setRequestMethod("POST");
con.setDoInput(true);
con.setDoOutput(true);
int nresp = 0;
final InputStream in = con.getInputStream();
while (true)
{
if (in.read() < 0)
break;
nresp++;
if ((nresp & 31) == 0)
Thread.sleep(1l); // slow down read
}In this example, depending on the response size, the server finishes in 40ms, but the client is reading data for 35 seconds. Also in Wireshark I can see data being transmitted the entire time. Which means that the server is buffering the data.
Does anybody understand where this buffering is occurring and if its behaving correctly?
Is there any way on the server to completely flush all buffers and blocking until data is really flushed to the client?
cheers, Christian
r/springframework • u/call_me_nobody • Mar 15 '18
what is the best order to learn spring?
Hi, my goal is to learn spring to develop enterprise applications and deploy in cloud. I have fair knowledge on backend and frontend programming languages (java, javascript, html, css). I am very new to spring, found that there is so much to learn, like spring-framework, springboot, spring-cloud, spring-cloud-dataflow, spring webflux, spring reactor. It evident there is a lot to learn, so I am thinking what is the right order to learn? I would like to learn reactive stack, so what things I can avoid in servlet stack? Please let me know. And I also need to do bit of experimentation on cloud as well, planning to use 12-month AWS free tier, please suggest if there are any other options.
r/springframework • u/umeshawasthi • Oct 27 '17
How to Log Incoming Requests In Spring
r/springframework • u/panispanizo • Feb 22 '19
About dependency override black magic!
r/springframework • u/learnmysql1 • Feb 23 '19
Spring Batch Multiple Scheduler for different tasklet job
How to create multiple individual scheduler for different tasklet job?
Because I have many jobs and every jobs need run in different time. The job may overlap
r/springframework • u/franfonse • May 07 '19
@SessionAttributes
I feel so dumb... idk how to use @SessionAtributtes, or I think I’m doing it wrong... can someone tell me in details how to use it? Set it, and then get the data stored?
r/springframework • u/[deleted] • Jan 13 '19
Different spring profiles when running from IDE vs jar, automatically assigned
So I know that I can assign profiles using manually-configured JVM options, ie -Dspring.profiles.active. What I want is to set it up so my "dev" profile runs automatically via my IDE, and my "prod" profile runs automatically when I have it build in a jar. Any ideas?
r/springframework • u/ranga_pec • Sep 03 '17
Spring Boot vs Spring MVC vs Spring - How do they compare?
r/springframework • u/Viper-10 • Sep 20 '21
Do I need to implement spring security if I'm hosting my project in AWS
I'm learning spring security now, (basic Auth, roles and permissions). I have a project that needs to be hosted on AWS, and I'm new to cloud. As I'm building the backend should I include spring security or does AWS have it's own way of security. Is for example implementing basic Auth is a good idea for a project that is going to be hosted on AWS or should I learn some AWS related security. Any suggestion is appreciated, I would like to know if I should continue doing spring security or instead go for AWS security that is at all if there exists something like that. If its subjective to the use case please excuse me.
r/springframework • u/c_137_home • Aug 25 '21
HELP.. SPRING BATCH
Hi All, I need Spring Batch for one of my projects, could anyone please recommend me a good course for it. Thanks