J2EE
第三步,安装配置jBuilder 7
这里我安装的是weblogic版
安装jBuilder不要把它装到带有空格的目录里如Prograih Files,或是中文目录中,不然编译时会出错的。安装很简单,不必多言,这里着重讲一下配置
小技巧一:大家觉得jBuilder运行时也许很慢,因为jbuilder默认使用32MB内存,如果你的内存够大的话,可以加大一点,具体办法如下,
在jBuilder安装目录BIN下找到jbuilder.config文件,编辑它,改变Vmparams 后的参数,
我的配置为
vmparam -Xms64M
vmparam -Xmx64M
启动jBuilder,在Help下的About Jbuilder下可以看到Java heap已经增加了,运行也快了许多,起码以后可以编译较大的文件。
小技巧二:运行jBuilder时,发现编写代码很不方便,所选的代码与实际所见的总是差一个,这是因为字体的原因,解决方法如下,在Tools的Editor Options下的Display里,将Editor font里的Font Family改为新宋体即可。
配置weblogic服务
用jBuilder可以整合weblogic,这样可以把在jBuilder下开发的EJB或打包成WAR的网站直接发布到weblogic!
首先在tools下选择Configure Servers
在下面的user Home下,你可以看到“webLogic Application Server 6.X-7.0”项,点击它,在右边会出现Server Settings ,将Enable server打上勾,在下面的General下选择home directory和Working directory:本人的为"D:/bea/wlserver6.1"
然后点Custom项
选择JDK installation directory:本人的为“D:/bea/jdk131”
BEA home directory:本人的安装目录为“D:/bea”,接着输入密码和设定的Domain name和Server name这些都是你安装weblogic时设定的,如果目录选择正确,在下面的version下会自动出现你的weblogci的版本号。点击OK即完成!
下面,我们做一个试验,看看weblogic是不是和jbuilder整合了!
首先,我们新建一个工程,选Application,在name里填写你的工程名,接着按完成即可
在新建工程项目时顺便看一看Server是不是用的Weblogic
然后再选新建,在出现的Object Gallery下选Web,因为我们是要发布WEB应用,所以选取Web Application
为它命个名,这将是网站包的名字,指定它的工作目录后选择Generate war,点OK即可
接下来,我们要新建一个JSP文件,一样点新建,在WEB下选择JAVAServer Page,按它的默认点下一步即可,它会自动创建一个JAVABEAN,
首先,我们要把自动生成的这个BEAN编译为class,选中它,点右键,在出现的菜单选Rebuild编译
然后编译你的Web Application,它会自动生成WAR包,点这个包发布即可
发布网站
0 接下来打开浏览器输入 http://127.0.0.1:7001/tds/index.jsp 即可看到该页面。
1 PS:WAR为整个web appliction压缩包,讲简单明白点就是我们所做的整个网站都可以打成一个包,然后用weblogic来发布,当然weblogic也支持用目录发式来发布的!
今天就先写到这里了,希望大家看得明白,有点收获,我就心满意足了!

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

MySQloffersechar, Varchar, text, Anddenumforstringdata.usecharforfixed-Lengthstrings, VarcharerForvariable-Length, text forlarger text, AndenumforenforcingdataAntegritywithaetofvalues.

Optimizing MySQLBLOB requests can be done through the following strategies: 1. Reduce the frequency of BLOB query, use independent requests or delay loading; 2. Select the appropriate BLOB type (such as TINYBLOB); 3. Separate the BLOB data into separate tables; 4. Compress the BLOB data at the application layer; 5. Index the BLOB metadata. These methods can effectively improve performance by combining monitoring, caching and data sharding in actual applications.

Mastering the method of adding MySQL users is crucial for database administrators and developers because it ensures the security and access control of the database. 1) Create a new user using the CREATEUSER command, 2) Assign permissions through the GRANT command, 3) Use FLUSHPRIVILEGES to ensure permissions take effect, 4) Regularly audit and clean user accounts to maintain performance and security.

ChooseCHARforfixed-lengthdata,VARCHARforvariable-lengthdata,andTEXTforlargetextfields.1)CHARisefficientforconsistent-lengthdatalikecodes.2)VARCHARsuitsvariable-lengthdatalikenames,balancingflexibilityandperformance.3)TEXTisidealforlargetextslikeartic

Best practices for handling string data types and indexes in MySQL include: 1) Selecting the appropriate string type, such as CHAR for fixed length, VARCHAR for variable length, and TEXT for large text; 2) Be cautious in indexing, avoid over-indexing, and create indexes for common queries; 3) Use prefix indexes and full-text indexes to optimize long string searches; 4) Regularly monitor and optimize indexes to keep indexes small and efficient. Through these methods, we can balance read and write performance and improve database efficiency.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver Mac version
Visual web development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version
Useful JavaScript development tools

Zend Studio 13.0.1
Powerful PHP integrated development environment
