Why are some java EE/J2EE projects inefficient or at least inefficient) English original post address: http://www.adam-bien.com/roller/abien/entry/why_some_of_the_java
1. Architects are far more proficient in PowerPoint than the popular Java IDE.2. Simply deploy the basic environment (such as applications)ProgramServers and databases). Several DVDs and severa
The previous two articles to install the server, the main project is so that its integration into our projects, the Internet is mostly ASP, there is little introduction of how Java integration, after Baidu, and finally integrated into my project.First, build a servlet interceptor.public void DoFilter (ServletRequest request, servletresponse response, Filterchain chain) throws IOException, servletexception {
Scala is an object-oriented language running on Java JVM. It supports function programming and is more flexible in syntax than Java. At the same time, through the Akka library, Scala supports powerful Actor-based multi-thread programming. With these advantages, I recently wanted to use Scala in a new project, but in the new project, we abandoned the common Java a
decompression path, D:\Program Files (x86) \java\apache-tomcat-8.5.28;(4) Path:%catalina_home%\bin;After configuration, locate the Bin folder in the Extract directory, find "Startup.bat" in it and double-click the batch file to display.Enter address in browser: http://localhost:8080/The following instructions are displayed for successful configuration:Double-clicking the "shutdown.bat" file will close. At this point in the browser to enter the addres
Unlike previous development tools like Eclipse and NetBeans, Idea's project is quite workspace with Eclipse, and module is the equivalent of project.Here's a correspondence between the concept of Eclipse and idea:Our goal is to create a workspace and then build at least 2 projects under it (2 bar), which is the working space Javaworkspace, contains the JavaOne and javatwo two items.first, review the previous article : IntelliJ idea 14.x integrates wit
Unlike previous development tools like Eclipse and NetBeans, Idea's project is quite workspace with Eclipse, and module is the equivalent of project.Here's a correspondence between the concept of Eclipse and idea:Our goal is to create a workspace and then build at least 2 projects under it (2 bar), which is the working space javaworkspace , contains the JavaOne and javatwo two items.first, review the previous article : IntelliJ idea 14.x integrates wi
If you have two Java projects, how to communicate information to each otherPremise: You must know the IP address and access path of the server to which you want to communicate the Java project (receiving requester).In fact, the communication between the two Java projects is
classes in Java are loaded into the virtual machine by the loader, and that there is a parent-child relationship between the ClassLoader, that is, the child knows the parent, the parent does not know the child, so that the different types of child loading are inaccessible (although they are all placed in the method area), So the loading of resources through the loader of the current class here is guaranteed to be loaded with the same loader as the cl
The way I do it now:1. When configuring Tomcat in Eclipse, choose Create context file instead of Server.xml, the benefit is that the file can be arbitrarily named, consistent with the virtual directory (that is, the attribute path in XML). When Tomcat loads a project, it scans all the XML files in the Conf\catalina\localhost directory and then loads them according to the configuration.The XML file in the Conf\catalina\localhost directory. In general, a project corresponds to an XML file, and if
generated. class and other resource files* Export all output folders for checked projects indicates that all folders for the selected item are exported* Export Java source file and Resouces indicates that the exported jar package will contain your source code *.java, if you do not want to leak the source, then do not choose this* Export refactorings for checked
Java is used to do the project! Java's main area of application is enterprise-level project development! To engage in enterprise-level project development, you need to master the following points:
1, master the basic steps of project development
2, with a strong object-oriented analysis and design skills
3, master use case driven, architecture as the core of the mainstream development method
No one wants to be satisfied with their own life to mast
Maven installation directory and the local repositoryFill in the project name, directory, and module name, etc. click FinishCreate a good project directory structureRecources folder: Typically used to store some resource filesWebApp folder: Used to store Web configuration files and JSP pages, etc.Note: The target directory is not generated until MAVEN is packaged, and is not available at first.V. Create a Java directoryClick Project StructureSelect m
In general, Java projects are eventually released in the form of jar or warWar is the Web project, the jar is the common Java project, can be launched directly, without any containerFixed directory structure for general comparisons:Project Name DemoDemo/bin here is usually the start and stop script start.sh stop.shdemo/conf System Configuration FileDemo/base War
Converting a Java project into a clear UML class diagram makes it easier for us to understand the project structure and dependencies between modules. This article describes six open-source tools that can reverse engineer Java projects to UML class diagrams.
1.Eclipse MDT
Model Development Tool (MDT) provides some exemplary tools and development models based on th
code folder.Adds an externally dependent jar package to the module.The addition of Tomcat dependency is to satisfy servlet and jsp rely on Tomcat as a servlet container for enhanced servlet jsp API.Adding a project requires a jar package dependency.Set the artifact. If there is no default, add, fill in the relevant name, select the relevant type;Basic setup completed;4. Set TomcatAdd Tomcat, modify name. Add artifactsModify the relevant port number, may be used, need to modify;Tomcat configurat
Internet general operating technology: Webservice,jquery, traffic, cache, data security, Java background is more, but, like this large-scale Internet project, the basic framework has, you need to do is familiar with the business, familiar with their company's framework, With the support of basic business and technical framework, the following is to subdivide your specific work, if it is common developers, understand the next WebService interface, jque
The previous article described the Java program being packaged as an RPM installation package by using the. spec file with the Rpmbuild command on Linux.New requirements are encountered at this stage:Use makefile to manipulate Java compilation, packagingThis requirement is based on the previous contentYou can review the following articles to resolve the above requirementsRecommendation: Start with a small c
General programming is mostly used to store configuration information. for JDBC, you can write the database connection string to xml. to modify the data source, you only need to modify the xml. you do not need to re-compile the java file, these configuration information is put together. When someone else reads the code you write, it makes it easier for many java project
Think that using the IDE to generate MAVEN projects will get stuck, very slowly. A cmd Batch command was written with CMD to generate the MAVEN project. The effect is as followsBuild Project import idea after the structure is as followsThe batch command code is as follows@echo Off::echo Please select the project type: Echo 1.maven-archetype-quickstartecho 2.maven-archetype-webappset/p webtype= Please select project type::: Echo %webtype%set/p dgroupid
Ant is a cross-platform component tool under the Apache Foundation. It can automatically build and deploy projects. In this article, we will familiarize readers with how to apply ant to Java projects and simplify the construction and deployment operations.
I.
Installation and configuration: Http://ant.apache.org/. in this document, download 1.7.0. Decompress th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.