Profiles are generated by the SQLJ Translator, sqlj, when you translate the SQLJ source file. Profiles are serialized binary files. That is why these files have a .ser extension. These files contain the SQL statements from the associated SQLJ source file.
To generate profiles from your SQLJ source code, run the SQLJ translator, sqlj, on your .sqlj file.
For more information, see Compile and run SQLJ programs.