This quick start guide will help aspiring Java EE developers.
IntelliJ IDEA is a great IDE for Java, however its free Community Edition is somewhat limited in web development and Java EE in general. In the Community version, it is very easy to develop desktop applications, but as soon as it becomes necessary to develop a web application with Java EE, you suddenly find that the Community does not support any app servers (JBoss, GlassFish), or even a container servlet (Tomcat).
In this tutorial, I'll show you how to get around this problem (without installing the rather expensive or cracked Ultimate Edition) by integrating IntelliJ IDEA Community Edition with Tomcat (via Maven) to develop servlet web applications.
Want to build your first web application? Why not try Spring Boot? Refer to my newer, absolute beginner-oriented tutorial.
This tutorial will help beginner developers of Java EE applications.
IntelliJ IDEA is a great IDE for a Java developer, however its Community Edition is somewhat limited in regard to enterprise and web development toolbox. You can easily develop desktop applications in Community, but confronted with the need to develop an enterprise web application with Java EE you suddenly find out that Community Edition can’t provide you with an application server or automatic deployment or anything, really. In this tutorial I'm going to show you how to sidestep this issue by integrating IntelliJ IDEA Community Edition with Tomcat (via Maven) to develop a sample website with servlets.
Hello! This blog post focuses on one simple task: quickly creating a web application using Spring Boot in IntelliJ IDEA Community Edition.
For those having EAP or Ultimate version installed, you may refer to this tutorial that takes the built-in Spring Initializr project creator into account. The less fortunate folks (like me) will have to do slightly more work, but will also benefit from learning the nitty-gritty of spring-based projects and maven. And, to be fair, that’s not much more work than using the Initializr plugin in advanced IntelliJ versions.
There are two approaches to making a Spring Boot project. One of them is using Spring Initializr web application to generate your project template, which is supposedly easier, and another is manually adding the dependencies into your barebone Maven project.
Personally, I found that both approaches take about the same amount of time, so pick any one of them - it won’t siphon more your precious time. To use the forme ...
Description of electronic clock repair Janus , made in the USSR. The basis of these watches is the K145IK1901 microcircuit - a common Soviet controller for building electronic clocks. The time is displayed on the large green display IVL1-7 / 5.Based on the experience and repair of such watches, it can be concluded that most often the quartz resonator fails, the electrolytic capacitors dry out, and the vacuum indicators fade away. Indicators that failed due to a burnout of the filament have not yet come across. Of course, it is best to repair any electronics with a circuit. Here are two similar schemes. If anything, the K145IK1901 and KR145IK1901 microcircuits are interchangeable during repairs.
SB1 - “M” - setting the current time in minutes, in the “T” mode - in seconds;
SB2 - “H” - setting the current time in hours, in the “T” mode - in minutes;
SB3 - "К" - correction of the current time;
SB4 - "C" - stopwatch mode;
SB5 - “О” - stop indication;
SB6 - “T” - timer mode;
SB7 - “B1” - “alarm clock 1” mode, the time is set using the “H” and “M” buttons.
SB8 - “B” - call the indication of the current time, for example, after setting alarms;
SB9 - “B2” - “alarm clock 2” mode.
In this case, the watch lay idle for a long time and finally, after 5 years, it was needed. Initially, there was an idea to buy ready-made LEDs - with large numbers, 5-10 centimeters high. But after looking at the price for 1000 rubles, I realized that it was better to revive the old ones.
We disassemble the case and examine the circuit with details - everything is rather complicated, compared to modern ones, on microcontrollers and LCDs. The power supply seems to be simple - transformerless, but then a reduced voltage of 10 V is converted by a very cunning inverter on a multi-winding ring, into 27 volts of power supply for the anode of the IVL-1 indicator.
There are no signs of life, the fuse and diodes are normal, but the power supply to the filter capacitor (1000 microfarads 16 V) is only 4 volts.
We take a laboratory regulated power supply unit and supply the clock with the 10 V voltage set according to the scheme, controlling the current. Everything worked - the indicator lit up and the dot of seconds began to blink. The current was about 80 mA.
Obviously the problem is in the capacitor. And the culprit was not the electrolyte of the filter, as you might immediately think, but the ballast network, which almost lost its capacity, at 400 V 1 microfarad. In parallel, a second similar one was soldered to it, and when it was connected to the 220 V network, the device worked. The voltage immediately rose to 10.4 V.
On this, the repair can be considered complete, and 1000 rubles already allocated for the purchase - saved. From this we conclude: do not be lazy to repair household appliances and electronics on your own, because in addition to saving money on buying a new one, you will feel joy from a job successfully done and pride in front of your household 🙂
Yes, glitches are not childish.
Well, for a start, I would replace all the old electrolytic capacitors (silver barrels), near one of the legs of which there is a “+” sign, with new ones of the same or similar rating for the maximum operating voltage not less than indicated on the old ones. (for example: we solder the Soviet capacitor 50μF at 50V, put a new 47 μF for 50 or more (63, 100) V instead). Especially in the food side ”.
Soviet electrolytes love to dry out and lose capacity. So it is very possible that I will give the devil what is going on for nutrition. Hence the glitches.
radio engineering modding vintage electronics —————— Vintage Electronic
I decided to buy the broken ones to exercise, dig deeper, see in general what kind of miracle it is. Watch 1992 The watch was produced from 1990 to 1993, approximately, by the Reflector plant.
Buying from one Kulibin, when he took it, the owner honestly admitted that he was broken and tried to repair it failed. Well, I think that's a damn ambush. All the same, at such a ridiculous price, I decided to take it.
And so we went. We turn on! Oops, the first joy, 03 is lit on the screen, well, the watch needed an ambulance =) they ask themselves =) Well, I think well already.
There are a lot of buttons to poke, therefore, in order not to get confused, read the instructions
1. Plug in the power cord. Any information will appear. 2. Press the PRG button and, while holding it, press C (reset).On the indicator of the board, the hours and minutes will be reset to zero. The symbols ВС and ПРГ appear - the watch is ready for work.
1. Press the * (preset) button. The indicator board will light up with reduced brightness (setting is allowed). 2. Set the day of the week by pressing one of the buttons (from 0 to 6). The symbols Sun to Sat will appear. 3. Set tens of hours (0 to 2) 4. Set the value of the units (from 0 to 9) 5. Set tens of minutes (from 0 to 5) 6. Set the units of minutes (from 0 to 9) 7. Press the ↑ arrow (save). 8. At the moment of 00 seconds, press the TV button. Startup will take place, and the dividing dots will start blinking on the display.
CURRENT TIME CORRECTION
1. A minute before the start of the exact time signal, press C (zero the readings) 2. Dial the value of the current time. 3. At the moment of the sixth signal (00 seconds) press on TV.
1. Press PRG 2. Press C (zeroing) 3. Press * (preset) 4. Press 7 (alarm clock) 5. Set the alarm time value 6. Press the ↑ arrow (save). 7. Press the TV button.
Press the SIGNAL button CALLING A SIGNAL 1. Press PRG 2. Press TV
SET WEEKLY ALARM .
The alarm clock can work on days of the week. 1. Press PRG 2. Press C (zeroing) 3. Press * (preset) 4. Press 7 (alarm clock) 5. Press С (it will switch to the mode of setting the days of the week) 6. Set the alarm time value 7. Press the ↑ arrow (save). 8. Press the TV button.
After carrying out the planned work, it turned out that the KR1016VI1 microcircuit also died. Symptoms - the units of hours do not burn at all in memory.
I put a socket under the microcircuit. And without bullying, he put a micra.
Put a new micra KR1016VI1 1992. It comes with through oval holes (for better cooling, the old one had no holes. For one thing, I changed quartz 32.768 to a fresher one.
At the current moment: 2 hours of work - normal flight. The alarm clock works in different modes, including weekly. The settings of the set time are written into the micro memory.
The body is dirty, greasy and yellow. The restoration was carried out according to his own debugged scheme. Acetone + cotton swab + dense microfiber cloth, with neat and quick movements all yellowness and dirt clean off.
Is your TV, radio, mobile phone or kettle broken? And you want to create a new topic about this in this forum?
First of all, think about this: imagine that your father / son / brother has an appendicitis pain and you know from the symptoms that it is just appendicitis, but there is no experience of cutting it out, as well as the tool. And you turn on your computer, access the Internet on a medical site with the question: "Help to cut out appendicitis." Do you understand the absurdity of the whole situation? Even if they answer you, it is worth considering factors such as the patient's diabetes, allergies to anesthesia and other medical nuances. I think no one does this in real life and will risk trusting the life of their loved ones with advice from the Internet.
The same is in the repair of radio equipment, although of course these are all the material benefits of modern civilization and in case of unsuccessful repairs, you can always buy a new LCD TV, cell phone, iPAD or computer. And for the repair of such equipment, at least it is necessary to have the appropriate measuring (oscilloscope, multimeter, generator, etc.) and soldering equipment (hairdryer, SMD-hot tweezers, etc.), a schematic diagram, not to mention the necessary knowledge and repair experience.
Let's consider the situation if you are a beginner / advanced radio amateur who solders all sorts of electronic gizmos and has some of the necessary tools. You create an appropriate thread on the repair forum with a short description of “patient symptoms”, ie. for example “Samsung LE40R81B TV does not turn on”.So what? Yes, there can be a lot of reasons for not switching on - from malfunctions in the power system, problems with the processor or flashing firmware in the EEPROM memory. More advanced users can find the blackened element on the board and attach a photo to the post. However, keep in mind that you replace this radio element with the same one - it is not a fact that your equipment will work. As a rule, something caused the combustion of this element and it could “pull” a couple of other elements along with it, not to mention the fact that it is quite difficult for a non-professional to find a burned-out m / s. Plus, in modern equipment, SMD radio elements are almost universally used, soldering which with an ESPN-40 soldering iron or a Chinese 60-Watt soldering iron you risk overheating the board, peeling tracks, etc. The subsequent restoration of which will be very, very problematic.
The purpose of this post is not any PR of repair shops, but I want to convey to you that sometimes self-repair can be more expensive than taking it to a professional workshop. Although, of course, this is your money and what is better or more risky is up to you.
If you nevertheless decide that you are able to independently repair the radio equipment, then when creating a post, be sure to indicate the full name of the device, modification, year of manufacture, country of origin and other detailed information. If there is a diagram, then attach it to the post or give a link to the source. Write down how long the symptoms have been manifesting, whether there were surges in the supply voltage network, whether there was a repair before that, what was done, what was checked, voltage measurements, oscillograms, etc. From a photo of a motherboard, as a rule, there is little sense, from a photo of a motherboard taken on a mobile phone there is no sense at all. Telepaths live in other forums. Before creating a post, be sure to use the search on the forum and on the Internet. Read the relevant topics in the subsections, perhaps your problem is typical and has already been discussed. Be sure to read the article Repair strategy
The format of your post should be as follows:
Topics with the title “Help fix the Sony TV” with the content “broken” and a couple of blurred photos of the unscrewed back cover, taken with the 7th iPhone, at night, with a resolution of 8000x6000 pixels are immediately deleted. The more information about the breakdown you put in a post, the more chances you will get a competent answer. Understand that the forum is a system of gratuitous mutual assistance in solving problems and if you are dismissive of writing your post and do not follow the above tips, then the answers to it will be appropriate, if anyone wants to answer at all. Also note that no one should answer instantly or within a day, say, no need to write after 2 hours “That no one can help”, etc. In this case, the topic will be deleted immediately. You should make every effort to find a breakdown on your own before you get stuck and decide to go to the forum. If you outline the whole process of finding a breakdown in your topic, then the chance of getting help from a highly qualified specialist will be very great.
If you decide to take your broken equipment to the nearest workshop, but do not know where, then perhaps our online cartographic service will help you: workshops on the map (on the left, press all buttons except “Workshops”). You can leave and view user reviews for workshops.
For repairmen and workshops: you can add your services to the map. Find your object on the map from the satellite and click on it with the left mouse button. In the field “Object type:” do not forget to change to “Equipment repair”. Adding is absolutely free! All objects are checked and moderated. A discussion of the service is here.
At work, in the workshop of my repair team, from the very moment I was transferred there, I strained the box under the ceiling. It had the colors of the walls, wires went to it, but the functionality was not clear.During cosmetic repairs, the box was removed, and it turned out to be an Elektronika 7 clock, which was hung there 20-25 years ago, covered with polyethylene paint, AND PAINTED DOWN. the chipboard body had crawled, nothing wanted to burn.
However, inside there was just such a bag (5 lamps, 2 fuses, a chip from the connector and a couple of radio components in an aluminum package) and, fortunately, our neighbors in the workshop are ACS repairmen.
The device was completely disassembled and handed over to colleagues in the workshop.
While our friends were shamanizing with dark electric forces, we put a chipboard table on the new building, having painted it with gold paint from a spray can. Glass is completely cleaned of paint residues and tinted to zero in the right places but what are we sitting in an aquarium like fuckers? .
By the way, the inner frame was made of 25th steel angle and painted with a very thick layer of black paint. Rust was only on the outer elements of the case.
After returning the mechanism from neighbors, the watch is assembled, a plug is added for easy connection.
According to electrical colleagues, there were enough spare parts in a bag (the prudent engineers of the USSR), but one more lamp still would not hurt (the second digit is the bottom row of the middle "crossbar").
Video (click to play).
The clock works and hangs in the old place, but now it is functional.