ESYAE-imza Kütüphaneleri

User Tools

Site Tools


en:esya:applet:applet-kodlari:giris

Farklar

Bu sayfanın seçili sürümü ile mevcut sürümü arasındaki farkları gösterir.

Karşılaştırma görünümüne bağlantı

en:esya:applet:applet-kodlari:giris [2013/09/12 12:35]
Dindar Öz oluşturuldu
en:esya:applet:applet-kodlari:giris [2013/09/12 13:12] (mevcut)
Dindar Öz
Satır 3: Satır 3:
 ==== 1. Introduction ==== ==== 1. Introduction ====
  
-[[en:​esya:​applet:​sistemin-calismasi|Sistemin Çalışması]] bölümünde bahsedildiği üzere ​applet ​iki temel kısımdan oluşuyor. Bunlardan bir tanesi appletin haberleşeceği,​ sunucu kodlarıBu sunucuyu kendi uygulamanızda login olunacak sistem olarak tahayyül edebilirsiniz.+As mentioned in [[en:​esya:​applet:​sistemin-calismasi|Applet Design]]  ​the ​applet ​mainly consists of two parts one of which is the server code to be used for applet communicationYou can think of this server as the system to be logged in
  
-Öncelikle kodları ​JAVA yorumlayabilecek bir sunucuda yayınlayıp ​''​main.jsp'' ​sayfasını çağırmanız gerekmektedir. ''​main.jsp'' ​sayfası kodlardan da anlaşıldığı üzere içinde ​applet'​i çağıracaktır.+First of all, you have to deploy the codes in a server which can interpret ​JAVA and call the page ''​main.jsp''​. ''​main.jsp'' ​, as understood from the code,  loads the applet
 + 
 +In order for this page to load the applet properly the jar file of the applet must be placed in the correct place. You can specify the address of the jar file in the applet tag in ''​main.jsp'​'.
  
-Bu sayfanın applet'​i sağlıklı bir şekilde çalıştırabilmesi için applet jar'​ının uygun yere yerleştirilmesi gerekir. jar'​ın nereye yerleştirileceğini yine ''​main.jsp''​ içindeki applet tag'​inde belirleyebilirsiniz. 
  
 <sxh html> <sxh html>
Satır 25: Satır 26:
 </​sxh>​ </​sxh>​
  
-Yukarıdaki PKCS7 imza atan applet'​i çağıran ​tag'​de ​applet'in ana sınıfı olarak ''​code''​ parametresinde verilen ​''​tr.gov.tubitak.uekae.applet.light.LightApplet'' ​belirtilmiştirBu sınıfı da ''​archive'' ​parametresinde verilen jar'​ların içinde bulabilmesi gerekirBizim örneğimizde bu sınıf, ​''​new-applet.jar'' ​içinde bulunmaktadırjar'​ların nerede bulunması gerektiği ​''​codebase'' ​parametresi ile belirtilebilirBu parametre yoksa ''​main.jsp''​ applet'i kendi dizininde arayacaktır.+In the tag above, which loads PKCS 7 signature ​applet, the main class of the applet is specified as ''​tr.gov.tubitak.uekae.applet.light.LightApplet'' ​in the parameter ''​code''​It is required that this class must be placed in the jars given in the parameter ​''​archive''​. ​In our example this class is in ''​new-applet.jar''​. ​The address of the jars can be specified by the parameter ​''​codebase''​. ​If this parameter does not exist then ''​main.jsp'' ​will search the applet ​in its own folder.  
 + 
 + 
 +Note: Modifying the applet and specifyinh a new jar sometimes may be problematic. The browser may load the old applet from cache. To prevent this, renaming the applet to a different name is suggested.
  
-Not: Applet'​te bir değişiklik yapıp yeni jar'ı göstermek bazen problem olabiliyor. Tarayıcı kendi önbelleğinden eski applet'​i çalıştırabiliyor. Bunun önüne geçmek için tavsiye edilen '​best-practice'​ applet'​i yeniden isimlendirmektir. 
en/esya/applet/applet-kodlari/giris.1378989352.txt.gz · Son değiştirilme: 2013/09/12 12:35 Değiştiren: Dindar Öz