Architect-in-training basics

Source: Internet
Author: User
Tags asymmetric encryption

1 Java architect 10
1.1 SSH Documentation 10
1.2 UML 10
1.3 Design Mode 11
1.4 Multi-Threading 11
1.5 Encryption Algorithm 12
1.6 Server Cache 12
1.7 LINUX 13
1.8 EE Components 13
1.9 Performance Optimization 14
1.10 Legacy Issues 14
1.11 Noun Explanations 14

1 Java Architect
1.1 SSH Documentation
Http://wenku.baidu.com/view/89540abd960590c69ec3767f.html spring2.5
Http://wenku.baidu.com/view/a7242109763231126edb11ee.html struts2.1.6
Http://wenku.baidu.com/view/23d674e69b89680203d82555.html hibernate3.2

1.2 UML
http://v.youku.com/v_show/id_ct00XNzEyMjk5NTI=.html UML Video Tutorial 1
http://v.youku.com/v_show/id_XOTk4OTA5ODg=.html UML Video Tutorial 2
1.3 Design Patterns
http://v.youku.com/v_show/id_XMzAyNzE3Njc2.html design mode 1
http://v.youku.com/v_show/id_XMjE1NDA1OTQ0.html design mode 2
http://v.youku.com/v_show/id_XMzAyNzE3OTAw.html design mode 3
http://v.youku.com/v_show/id_XMTE0OTY3MzEy.html Java Design pattern
Http://v.youku.com/v_show/id_XMTMwNDI3MjMy.html Design Mode _ Factory series _01

The _iterator_01 iterative mode of design mode for the school horse soldiers in Shang Dynasty
Http://v.youku.com/v_show/id_XMTY5ODYyMjk2.html

http://v.youku.com/v_show/id_XMjE1NDAyMzcy.html 02

http://v.youku.com/v_show/id_XMjE1NDAyNDQw.html 03

http://v.youku.com/v_show/id_xmje1nda0mtq0.html 
1.4  Multithreading
Http://www.56.com/u25/v_ nzi1njc3mtg.html  28 Multi-threaded
http://www.56.com/u17/v_nzi1njc3otq.html 
Http://www.56.com/u17/v_ nzi1njc3otq.html 
http://www.56.com/u54/v_nzi1njc4oty.html 

Jdk1.5 Lock is more widely used than synchronized, and both statements and blocks can be locked
For N processor systems, there can be approximately n (1+wt average wait time/st task average processing time) threads in a pool. eg:12* (1+3/3) = 24;
Thread pool: thread pool with fixed number of threads, thread pool without fixed number of threads, single task dispatch thread pool, custom thread pool, etc.
Executor Pool=executors.newfixedthreadpool (2); Fixed number of thread pools
Executorservice pool = Executors.newsinglethreadexecutor (); Single-Task thread pool
Executorservice pool = Executors.newcachedthreadpool (); Variable thread pool
Scheduledexecutorservice pool = Executors.newscheduledthreadpool (2);//can dispatch thread pool
Custom thread pool creation wait queue
lockingqueue<runnable> bqueue = new arrayblockingqueue<runnable> (20);
Creates a single-threaded execution program that can schedule a command to run after a given delay or perform it on a regular basis.
Threadpoolexecutor pool = new Threadpoolexecutor (2,3,2,timeunit.milliseconds,bqueue);

1. Use multi-threading to export database large data volume data into an Excel file, and then compress to zip
2. Multithreading Delete Files
1.5 Encryption algorithm
Symmetric and asymmetric http://v.youku.com/v_show/id_XMjYwMTU0NTg4.html cryptographic algorithms
http://v.youku.com/v_show/id_XMTQ0MDUxMTcy.html PGP Email Encryption
Symmetric encryption: Encryption key = Decryption key speed is relatively fast
Des/3des idea RC CAST Blowfish AES (Advanced Data Encryption Standard)
Asymmetric encryption: Public and private keys cannot be deduced 16 times and sometimes more slowly
DH RSA MD5
Signature with your own private key when sending with the other's public key encryption
Decrypt with your own private key
For example, you have a safe, absolutely confidential, only one key can unlock, safe keys in their own hands, and the safe is empty, need to put something in the mail to you
1.6 Server Cache
http://v.youku.com/v_show/id_XMjE0Mzc3NDI0.html Hibernate first-level cache (Preach Intelligence podcast)
Http://v.youku.com/v_show/id_XMjE0Mzc3ODA4.html Hibernate level two cache processing mechanism
Http://v.youku.com/v_show/id_XMjE0Mzc3NTc2.html Hibernate level Two cache
Http://v.youku.com/v_show/id_XMjE0Mzc5MjA4.html Podcast Hibernate distributed cache
Third-party caching framework to handle cached data Oscache Oacache Memerycache
What is the difference between get and load?
Get first cache, level two cache, not fetch to database, no back null
Load first cache, level two cache, no access to the database, if not yet thrown back objectnotfoundexcepttion
In summary: The load system considers that there must be data that is not taken as exception get from the database to return null

Hibernate Sava update saveorupdate get load iterate lock query criteria and other methods will be placed in session cache (level cache), and populate the level two cache, storage, attention to memory overflow
Only iterator get load three methods fetch data from a level two cache
Use the evict clear method to clean it up

1.7 linux 
http://v.youku.com/v_show/id_xmjkwmzg1mzu2.html  Linux system and Shell Programming-1
http:// v.youku.com/v_show/id_xmjkwmzk4mzey.html  Linux system and Shell programming-2
1.8&NBSP;J2EE components
CXF Li Gang
/http v.youku.com/v_show/id_xnda3mtmzmzi0.html 
http://v.youku.com/v_show/id_xnda3mjq1mtq0.html     Li Gang cxf frame   Geneva
http://v.youku.com/v_show/id_xnda3mji2otg4.html  
/http v.youku.com/v_show/id_xnda3mjeynjk2.html   04  
Http://v.youku.com/v_show/id_ xnda3mju0odk2.html 
http://v.youku.com/v_show/id_xnda3mjc0nty0.html  WSDL
/http v.youku.com/v_show/id_xnda3mjkwoti0.html 
http://v.youku.com/v_show/id_xnda3mza4nty0.html  08 ...
http://v.youku.com/v_show/id_xnda3mzq0mdiw.html 

1.9 Performance Optimization
High-performance Web development, what is the main focus of performance?
A) database processing to minimize the number of reads, more use of stored procedures.
b) methods that can use static pages.
c) Reduce the use of pictures, be sure to use pictures, then use GIF or jpg smaller pictures.
d) Deploy the server with load balancing.
e) Use server caching to improve page responsiveness, page caching or data caching, such as Hibernate level two cache or using Ehcache, Oscache, Menerycache (central cache).
f) Reduce the number of HTTP client requests, and the foreground can use JavaScript to no longer access the server.
1.10 Legacy Issues
Http://v.youku.com/v_show/id_XNDIxODE4NDA0.html different browsers are inconsistent with exception handling results
1.11 Noun explanations
Jmm:java memory model, learn multithreading be sure to understand Java memory model
Error! The Graphics Item table was not found.
View Links: http://blog.csdn.net/yangguoqi/article/details/8093437 frequently encountered interview problems in Java

http://v.youku.com/v_show/id_XNDIyMTA1OTA0.html Spring_hibernate Tutorials

Application and advanced debugging techniques of http://v.youku.com/v_show/id_XMjE0MzQ3MDcy.html jquery

Search Engine: http://es.xiaoleilu.com/010_Intro/35_Tutorial_Aggregations.html

Architect-in-training basics

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.