`
文章列表
using dbca to create a database is preferred approach: http://docs.oracle.com/cd/B28359_01/server.111/b28310/create002.htm The following describes MANUALLY creating a new oracle database: Oracle online doc reference: http://docs.oracle.com/cd/B28359_01/server.111/b28310/create003.htm Reference 2: ...
## set the database to logon export ORACLE_SID=mydb ## conect sqlplus to the target database sqlplus / as sysdba ## make sure connected to the correct database SQL>show user; user is "SYS" SQL>select name from v$database; name -------- mydb ## start oracle goes through 3 stages: no ...
<p:dataTable id="idStuDataTable" var="vst" value="#{ss.searchResultList}" > ...... <p:column> <p:commandLink id="idDeleteButton" title="Delete Student" value="delete" oncomplete="confirmat ...
  <h:head> <title> <ui:insert name="title">Title</ui:insert> </title> <meta http-equiv="CACHE-CONTROL" content="NO-CACHE"/> <meta http-equiv="PRAGMA" content="NO-CACHE"/> <meta http-equiv ...
If you have millions of records in your database, you would like to use real pagination to provide viewing of the data. By "real" (or true or proper, whatever) pagination, it means that the searching function only fetches a few records for viewing on the current page, and the count of the ...
Suppose you have an Oracle sequence defined as following:     CREATE SEQUENCE BILLING.SEQ_ACTVID START WITH 300060 INCREMENT BY 1 NOMINVALUE NOMAXVALUE NOCYCLE NOORDER CACHE 20;     And you want to use that Oracle sequence. You need to add attribute "allocationSize=1" i ...
With JEE6/JSF2.0, validation can be done by bean validation annotations. these annotations can be put on the JEE6 entity beans OR managed backing beans, as long as they conform to the Java Bean requirement, ie, providing getter and setter methods for instance variables.   Bean validation messages ...
<!-- define our error pages --> <error-page> <error-code>403</error-code> <location>/noAccess.jsf</location> </error-page> <error-page> <error-code>404</error-code> <location>/error.jsf</ ...

start/stop JBoss 7

1. start JBoss7 in background and bind ip address: -b 10.1.1.9   standalone.sh -b 10.1.1.9 &     2. stop JBoss7 with the CLI   jboss-cli.sh --connect --command=:shutdown   Note: connect defaults to local. you can define "server:port" for connect: --controller=localhost:9999   ...
enjoy a JEE6 web application without 3rd party “框子”。   uploaded zipped project after JAAS security: "ProJee6.zip".
"jee6 学习笔记" 系列基本告一段落了。 学习涉及到了 jee6 的多个方面, 以及 JBoss 6/7 的配置等等:   1, project 的建立 2, primefaces 3.3 基本应用 3, jsf2.0 参数传递 4, 大数据查询的简单处理 5, ejb3.1 基本特点的简单试验与理解 6, i18n 多语言支持 7, JAAS 的配置和应用, 以及JAAS API 的简单使用等 8, JBoss 6/7 datasource/logging/security domain etc 的配置   通过上述学习,应该有能力独立完成一个 j ...
In "jee6 学习笔记 11", we explored the JAAS configuration for a JSF2.0 application with JBoss7.1, so far so good.   This article would explore the JAAS APIs that enable further control on application component. We are going to explore two topics: "Hiding the navigation urls from the web ...
This article describes how to secure a JSF2 web application with Java Authentication and Authorization Service (JAAS) and JBoss7.1. It uses a "FORM" authentication method. Users and roles are stored in a mysql database. We also want to use JSF2 tags and Primefaces tags as well, not a plai ...
run this command as root:   netstat -tulpn   t - tcp u - udp l - listenning p - programs n - dont resolve names     exmaple output:   Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address          Foreign Address     State         PID/Program name   tcp        0 ...
This is the zipped project after i18n completed.   In this upload, the build target "deploy.ear" is working to build a .ear deployment.   So far the project covers most of the aspects that i want to learn about JEE6, Primefaces 3.3. It's also tested on deploying to JBoss 6.1 and JBoss 7 ...
Global site tag (gtag.js) - Google Analytics