Develop a website using HTML and CSS for the front-end design, complemented by Java for the

I find myself at a standstill with a project I want to tackle, but unfortunately, my knowledge of modern web development, particularly full stack, is minimal. As a result, I am completely clueless on how to proceed. Here is what I am familiar with and what I aim to achieve...

What I know:

  • Setting up and managing a classic LAMP Server
  • Create HTML/CSS pages either using a design tool or hand-coding

What I Need to Accomplish:

  • Develop a website similar to TopG, where server owners can list their Minecraft Servers.
  • Allow users to create accounts to manage their servers (aware this can be done in PHP).
  • Integrate a java library called Votifier.jar. This library sends vote information to the Minecraft server when a user votes for a server via port 25565. It is essential for the front-end to communicate with this jar file/library and transmit the vote data to the correct Minecraft Server.

This particular part presents a significant challenge for me.

I considered programming the entire back end of the website in Java instead of PHP, hence, I explored Spring. However, I struggled to understand how to connect Spring with the front-end HTML.

At present, I am lost on how to move forward with achieving my objective... I fear investing time in developing the site with LAMP only to realize later that implementing Votifier requires a different framework, leading to a complete overhaul...

Should I opt for a Java backend? Or should I stick with the more familiar classic LAMP approach?

If you need further details, please let me know. Below are examples of existing websites to provide context for what I aim to accomplish.

On this page, clicking the vote button takes you to another page where you enter your Minecraft username, solve a captcha, and submit your vote. The vote submission then utilizes Votifier to send the relevant information to the Minecraft server, completing the process...

Answer №1

Using Java for the backend of your voting site is not mandatory, as these sites do not require any special Minecraft APIs. Instead, most major lists support common bukkit/spigot APIs such as Votifier/NuVotifier. These APIs utilize PKI authentication, which involves either RSA keys or a simple string secret. Your platform should have user accounts, server listings with posts, and a mechanism for users to set up their server postings.

To ensure ownership verification and prevent fake postings, you will need to exchange keys for the Votifier API. NuVotifier may allow adding a server list site's public key instead of the traditional method, but the choice is yours.

All of these tasks can be completed using any web/backend language and data engine that you are comfortable with.

Answer №2

Have you considered exploring JSP (JavaServer Pages)? It is a Java-based technology, similar to PHP.

With JSP, you can create dynamically generated web pages using HTML, XML, and Java.

I recently used it for a simple project and found it very easy to work with, especially if you are familiar with programming in Java.

Although I'm not a web developer, I hope this gives you a good starting point for your project.

I recommend seeking more information before diving into your project.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Set a default selection for radio buttons in Angular template-driven forms

I'm having an issue with setting a default selection for a radio button in my template-driven form. Here's the relevant part of my code: <div class="donut-form-promos"> <span>Promo:</span> <div class=&quo ...

What is the best way to make HTML adjust to SVG scaling?

After applying a scale transform to an SVG, I noticed that the surrounding HTML does not adjust its size accordingly. Here is the SVG in question: <div> <svg height="300" width="300" viewbox="0 0 300 300" transform="scale(1.55)" xmlns= ...

Button for Toggling Audio Play and Pause

Is it possible to create an SVG image that changes color slightly when hovered over, and when clicked toggles to another SVG image that can be switched back to the original by clicking again with the same hover effect? Additionally, when clicked, it should ...

Tips for comprehending the Executor example in Java's API documentation

Could someone please provide a thorough explanation of the following code snippet? class SerialExecutor implements Executor { final Queue<Runnable> tasks = new ArrayDeque<Runnable>(); final Executor executor; Runnable active; Seri ...

Adjusting or cropping strokes in a JavaScript canvas

I am working with a transparent canvas size 200x200. The object is being drawn line by line on this canvas using the solid stroke method (lineTo()). I'm in need of making this object full-width either before or after ctx.stroke();. ...

Issue with syntax in the Java code - error in if-else statement, needing correction

import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class automation { public static void main(String[] args) { // TODO Auto-gen ...

Using form.submit() alongside preventDefault() will not yield the desired outcome

My login form needs to either close the lightbox or update the error box based on the success of the login attempt. I suspect the issue lies with the onclick="formhash(this.form, this.form.password);" which is a JavaScript function that hashes a passwor ...

Inject pure HTML code into a react div

I have extracted raw HTML content stored in the database and I am attempting to display it within a div element. const style = { border: '2px solid #eee', height: '270px', width: '100%', overflow: 'auto&ap ...

Displaying postcode on a category page: A step-by-step guide

I would like to showcase the user input code and present it on the web exactly as entered. <?php #code... ?> Any assistance is greatly appreciated. Please excuse my English. Thank you! ...

Tips for defining two nodes during the setup of a RemoteWebDriver

I have set up a hub and node, but now I need to add another node to my setup. Any ideas on how I can configure my RemoteWebdriver to work with multiple nodes? public void setUp() throws MalformedURLException{ baseUrl="http://10.77.16.133/cpos-alttech ...

Adding and adjusting the size of different DIV elements within a shared area

Looking to create a dynamic bar with the ability to add multiple child DIVs (similar to this: https://i.stack.imgur.com/tdWsq.jpg). Utilizing jQuery, jQuery UI, Bootstrap, and various plugins. The structure for the div (or span) system could be structured ...

Group and sum the elements from an array based on specific conditions

I am looking to group data by APPName to determine the total counts of PrestoBarImpression, PrestoKeyCountChange, and PrestoTileImpression for each application on a specific day. This information will be used to generate a comprehensive report. I specifica ...

Having trouble changing a CSS property (margin-right)?

I have created a simple HTML list that consists of various items: <div id="menu"> <ul> <li>apples</li> <li>&#149</li> <li>bananas</li> <li>oranges</li> <li>grape ...

Displaying divs of varying heights in a line

I'm facing a challenge in creating floating divs, just like illustrated in the image provided in the link below. Currently, I am employing the float left property to align all the divs next to each other. The first picture displays the default layout ...

CSS mismatch detected between production and development modes

Currently, I am utilizing the Vuetify framework coupled with custom CSS for a project developed using a webpack template. During development mode, my custom CSS modifications are successfully applied to HTML elements; however, in Production mode, these cha ...

Guide to parsing JSON into model objects using Spring's RestController

My current project involves developing a RESTful web application with the Betfair API. To achieve this, I am dealing with JSON serialization/deserialization to handle HTTP requests and responses effectively. As part of my setup, I have opted for Spring MV ...

The WebForms feature is failing to include the email input type in the form after autopostback

On my page, I have an input field using asp:TextBox: <asp:TextBox ID="edEmail" runat="server" /> The form submission is done using a standard <asp:Button>: <asp:TextBox ID="edEmail" runat="server" /> <asp:Button ID="bbOK" Text="Save ...

What could be causing the excessive vertical spacing in an HTML list on Chrome: PHP output or CSS styling?

I'm having difficulty understanding why there is a significant vertical offset (around 170px) between one <li> element and the next. This issue seems to only occur in Chrome and not in Firefox, specifically within <li> elements when PHP co ...

Looking for a jQuery plugin that helps with form alignment?

In a blog post comment, I came across an interesting jQuery form alignment plugin: jQuery.fn.autoWidth = function(options) { var settings = { limitWidth : false } if(options) { jQuery.extend(settings, options); }; ...

Auto-scrolling text box cursor movement

My query is quite similar to the topic discussed in this thread on automatic newline in textarea. However, my situation involves multiple textareas with a 1-row attribute, making it seem like writing on air due to the absence of visible borders (I've ...