Mike Grabl-j

Greenhorn
+ Follow
since Apr 03, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Grabl-j

I'm a beginner studying Spring.

Looking for a mate to study it together.

The idea is to share screen, make a voice call and scrutinize/test code samples together. Plus mutual support and criticizm of each other's projects.

Looking forward to your personal message.
1 month ago
I'm a beginner studying Spring. Looking for a mate to study it together. The idea is to share screen, make a voice call and scrutinize/test code samples together. Plus mutual support and criticizm of each other's projects. Looking forward to your personal message.
1 month ago
Spring Tool Suite 4

Version: 4.6.0.RELEASE


From Github I've cloned source code for a book I'm reading.

Then in STS I did:



Then I selected the directory and pressed Next, Next, Next, then Finish.

But I face this problem:



The same in the picture:


Could you help me cope with this problem?

7 months ago
I'm choosing a framework and thinking of the architecture of a project of mine.

About me:

1. So far I've been using Python + Django.
2. As for the front end, my knowledge is very weak. I'm one for the server side.

What a project is

1. This is a service for clients to manage their advertising (like Google Ads).

2. The facade is pretty simple: rather a simple client area, home page, a blog, contacts.
For a client it will look like an ordinary web site. Like this forum or something.
As for web interface, Django is perfect for me.

3. I'll need ordinary batteries for a web site (call them plugins, applications, modules or something). Admin interface, tags, commenting system etc. Django has a lot of ready made batteries that I need. Pretty much everything.

3. Business logics of the project is complicated and huge. That is why I have chosen Java for this part of the project.
For the business logic of this project I'd prefer not to use dynamic typing. It will be in Java. This is not discussable.

4. It is not a distributed system: I'll have only one server (at least for the nearest decade).

5. I'm ready to study any framework for the server side.

What troubles me
1. Can I somehow integrate Django and Spring? I mean that I can prepare initial params in Django. Say, some 100 values among which there is a client's token. Then I need to transmit this all to Java at the same server. The params will be processed, and the necessary advertising API will be called with the client's token.

2. I can try to build web interface in Grails. Grails is suitable for building web interface for this project. But Django is better than Grails. It is a more mature framework. It has a better community, more batteries etc. And I already know it.

3. I can try to build web interface with Spring MVC. But for a web site Spring is not the best choice, if I'm not mistaken. Because it lacks of batteries necessary for an ordinary web site which I need, and is overburdened with a lot of batteries for an enterprise solutions which I don't need.

My plans so far
1. Django for web interface and ordinary web site staff.
2. When on the server, from Django I will call localhost:8080 and transmit params as JSON.
2. At localhost:8080 Spring will be listening.

Is this plan Ok or what can be a better solution?
7 months ago
Yes. The problem is solved. But the question is still here: why it looked for the main method in Art at all?
7 months ago
Examples are from "Thinking in Java".

import static net.mindview.util.Print.*;



Then I compile and run:



The question is: Why is it looking for main class in the Art class? And how to make it run the main method in Cartoon class?
7 months ago
Java 14

Cookie.java


Ex4.java



Project tree:



Attempts & errors:



Problem
Well, The package seems to be tha same: bakery. Why it is not run? It is angry about modules. I've not studied modules yet. Could you help me understand how to correct the code for it to compile and run.
7 months ago